OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/installer/util/chrome_browser_operations.h" | 5 #include "chrome/installer/util/chrome_browser_operations.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "chrome/installer/util/browser_distribution.h" | 10 #include "chrome/installer/util/browser_distribution.h" |
(...skipping 23 matching lines...) Expand all Loading... | |
34 std::set<std::wstring>* options) const { | 34 std::set<std::wstring>* options) const { |
35 DCHECK(options); | 35 DCHECK(options); |
36 | 36 |
37 if (uninstall_command.HasSwitch(switches::kMultiInstall)) | 37 if (uninstall_command.HasSwitch(switches::kMultiInstall)) |
38 options->insert(kOptionMultiInstall); | 38 options->insert(kOptionMultiInstall); |
39 } | 39 } |
40 | 40 |
41 void ChromeBrowserOperations::AddKeyFiles( | 41 void ChromeBrowserOperations::AddKeyFiles( |
42 const std::set<std::wstring>& options, | 42 const std::set<std::wstring>& options, |
43 std::vector<FilePath>* key_files) const { | 43 std::vector<FilePath>* key_files) const { |
44 // TODO(erikwright): If multi, can we omit this? | |
grt (UTC plus 2)
2012/07/12 18:37:10
see my comment in the app host's operations file
erikwright (departed)
2012/07/16 20:13:11
Decided just to leave it for now.
| |
44 DCHECK(key_files); | 45 DCHECK(key_files); |
45 key_files->push_back(FilePath(installer::kChromeDll)); | 46 key_files->push_back(FilePath(installer::kChromeDll)); |
46 } | 47 } |
47 | 48 |
48 void ChromeBrowserOperations::AddComDllList( | 49 void ChromeBrowserOperations::AddComDllList( |
49 const std::set<std::wstring>& options, | 50 const std::set<std::wstring>& options, |
50 std::vector<FilePath>* com_dll_list) const { | 51 std::vector<FilePath>* com_dll_list) const { |
51 } | 52 } |
52 | 53 |
53 void ChromeBrowserOperations::AppendProductFlags( | 54 void ChromeBrowserOperations::AppendProductFlags( |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
88 return false; | 89 return false; |
89 #endif | 90 #endif |
90 } | 91 } |
91 | 92 |
92 bool ChromeBrowserOperations::ShouldCreateUninstallEntry( | 93 bool ChromeBrowserOperations::ShouldCreateUninstallEntry( |
93 const std::set<std::wstring>& options) const { | 94 const std::set<std::wstring>& options) const { |
94 return true; | 95 return true; |
95 } | 96 } |
96 | 97 |
97 } // namespace installer | 98 } // namespace installer |
OLD | NEW |