| OLD | NEW |
| 1 // Copyright (c) 2006-2009 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 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 | 25 |
| 27 #include "installer_util_strings.h" // NOLINT | 26 #include "installer_util_strings.h" // NOLINT |
| 28 | 27 |
| 29 namespace { | 28 namespace { |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 | 234 |
| 236 std::vector<FilePath> BrowserDistribution::GetComDllList() { | 235 std::vector<FilePath> BrowserDistribution::GetComDllList() { |
| 237 return std::vector<FilePath>(); | 236 return std::vector<FilePath>(); |
| 238 } | 237 } |
| 239 | 238 |
| 240 void BrowserDistribution::AppendUninstallCommandLineFlags( | 239 void BrowserDistribution::AppendUninstallCommandLineFlags( |
| 241 CommandLine* cmd_line) { | 240 CommandLine* cmd_line) { |
| 242 DCHECK(cmd_line); | 241 DCHECK(cmd_line); |
| 243 cmd_line->AppendSwitch(installer::switches::kChrome); | 242 cmd_line->AppendSwitch(installer::switches::kChrome); |
| 244 } | 243 } |
| OLD | NEW |