| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 a class that contains various method related to branding. | 5 // This file defines a class that contains various method related to branding. |
| 6 // It provides only default implementations of these methods. Usually to add | 6 // It provides only default implementations of these methods. Usually to add |
| 7 // specific branding, we will need to extend this class with a custom | 7 // specific branding, we will need to extend this class with a custom |
| 8 // implementation. | 8 // implementation. |
| 9 | 9 |
| 10 #include "chrome/installer/util/browser_distribution.h" | 10 #include "chrome/installer/util/browser_distribution.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 66 |
| 67 std::wstring BrowserDistribution::GetAppDescription() { | 67 std::wstring BrowserDistribution::GetAppDescription() { |
| 68 return L"Browse the web"; | 68 return L"Browse the web"; |
| 69 } | 69 } |
| 70 | 70 |
| 71 int BrowserDistribution::GetInstallReturnCode( | 71 int BrowserDistribution::GetInstallReturnCode( |
| 72 installer_util::InstallStatus install_status) { | 72 installer_util::InstallStatus install_status) { |
| 73 return install_status; | 73 return install_status; |
| 74 } | 74 } |
| 75 | 75 |
| 76 std::string BrowserDistribution::GetSafeBrowsingName() { |
| 77 return "chromium"; |
| 78 } |
| 79 |
| 76 std::wstring BrowserDistribution::GetStateKey() { | 80 std::wstring BrowserDistribution::GetStateKey() { |
| 77 return L"Software\\Chromium"; | 81 return L"Software\\Chromium"; |
| 78 } | 82 } |
| 79 | 83 |
| 80 std::wstring BrowserDistribution::GetStateMediumKey() { | 84 std::wstring BrowserDistribution::GetStateMediumKey() { |
| 81 return L"Software\\Chromium"; | 85 return L"Software\\Chromium"; |
| 82 } | 86 } |
| 83 | 87 |
| 84 std::wstring BrowserDistribution::GetStatsServerURL() { | 88 std::wstring BrowserDistribution::GetStatsServerURL() { |
| 85 return L""; | 89 return L""; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 106 } | 110 } |
| 107 | 111 |
| 108 void BrowserDistribution::LaunchUserExperiment( | 112 void BrowserDistribution::LaunchUserExperiment( |
| 109 installer_util::InstallStatus status, const installer::Version& version, | 113 installer_util::InstallStatus status, const installer::Version& version, |
| 110 bool system_install) { | 114 bool system_install) { |
| 111 } | 115 } |
| 112 | 116 |
| 113 | 117 |
| 114 void BrowserDistribution::InactiveUserToastExperiment(int flavor) { | 118 void BrowserDistribution::InactiveUserToastExperiment(int flavor) { |
| 115 } | 119 } |
| OLD | NEW |