OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // This file defines implementation of GoogleChromeSxSDistribution. | 5 // This file defines implementation of GoogleChromeSxSDistribution. |
6 | 6 |
7 #include "chrome/installer/util/google_chrome_sxs_distribution.h" | 7 #include "chrome/installer/util/google_chrome_sxs_distribution.h" |
8 | 8 |
9 #include "installer_util_strings.h" | 9 #include "installer_util_strings.h" |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 } | 35 } |
36 | 36 |
37 bool GoogleChromeSxSDistribution::CanSetAsDefault() { | 37 bool GoogleChromeSxSDistribution::CanSetAsDefault() { |
38 return false; | 38 return false; |
39 } | 39 } |
40 | 40 |
41 bool GoogleChromeSxSDistribution::ShouldUseAlternateIcon() { | 41 bool GoogleChromeSxSDistribution::ShouldUseAlternateIcon() { |
42 return true; | 42 return true; |
43 } | 43 } |
44 | 44 |
| 45 bool GoogleChromeSxSDistribution::IsSpdyEnabled() { |
| 46 return true; |
| 47 } |
| 48 |
| 49 std::string GoogleChromeSxSDistribution::GetSpdyMode() { |
| 50 return "npn"; |
| 51 } |
| 52 |
45 bool GoogleChromeSxSDistribution::GetChromeChannel(std::wstring* channel) { | 53 bool GoogleChromeSxSDistribution::GetChromeChannel(std::wstring* channel) { |
46 *channel = L"SxS"; | 54 *channel = L"SxS"; |
47 return true; | 55 return true; |
48 } | 56 } |
OLD | NEW |