| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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" |
| 11 | 11 |
| 12 #include "base/atomicops.h" | 12 #include "base/atomicops.h" |
| 13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
| 14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
| 15 #include "base/path_service.h" | 15 #include "base/path_service.h" |
| 16 #include "base/lock.h" | 16 #include "base/lock.h" |
| 17 #include "base/logging.h" | 17 #include "base/logging.h" |
| 18 #include "base/win/registry.h" | 18 #include "base/win/registry.h" |
| 19 #include "chrome/common/chrome_switches.h" | |
| 20 #include "chrome/common/env_vars.h" | 19 #include "chrome/common/env_vars.h" |
| 21 #include "chrome/installer/util/chrome_frame_distribution.h" | 20 #include "chrome/installer/util/chrome_frame_distribution.h" |
| 22 #include "chrome/installer/util/google_chrome_distribution.h" | 21 #include "chrome/installer/util/google_chrome_distribution.h" |
| 23 #include "chrome/installer/util/google_chrome_sxs_distribution.h" | 22 #include "chrome/installer/util/google_chrome_sxs_distribution.h" |
| 24 #include "chrome/installer/util/install_util.h" | 23 #include "chrome/installer/util/install_util.h" |
| 25 #include "chrome/installer/util/l10n_string_util.h" | 24 #include "chrome/installer/util/l10n_string_util.h" |
| 26 #include "chrome/installer/util/master_preferences.h" | 25 #include "chrome/installer/util/master_preferences.h" |
| 27 | 26 |
| 28 #include "installer_util_strings.h" // NOLINT | 27 #include "installer_util_strings.h" // NOLINT |
| 29 | 28 |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 | 234 |
| 236 bool BrowserDistribution::ShouldCreateUninstallEntry() { | 235 bool BrowserDistribution::ShouldCreateUninstallEntry() { |
| 237 return true; | 236 return true; |
| 238 } | 237 } |
| 239 | 238 |
| 240 bool BrowserDistribution::SetChannelFlags( | 239 bool BrowserDistribution::SetChannelFlags( |
| 241 bool set, | 240 bool set, |
| 242 installer::ChannelInfo* channel_info) { | 241 installer::ChannelInfo* channel_info) { |
| 243 return false; | 242 return false; |
| 244 } | 243 } |
| OLD | NEW |