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 // This file defines specific implementation of BrowserDistribution class for | 5 // This file defines specific implementation of BrowserDistribution class for |
6 // Google Chrome. | 6 // Google Chrome. |
7 | 7 |
8 #include "chrome/installer/util/google_chrome_distribution.h" | 8 #include "chrome/installer/util/google_chrome_distribution.h" |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
870 // we waited for chrome to exit so the uninstall would not detect chrome | 870 // we waited for chrome to exit so the uninstall would not detect chrome |
871 // running. | 871 // running. |
872 bool system_level_toast = CommandLine::ForCurrentProcess()->HasSwitch( | 872 bool system_level_toast = CommandLine::ForCurrentProcess()->HasSwitch( |
873 installer::switches::kSystemLevelToast); | 873 installer::switches::kSystemLevelToast); |
874 | 874 |
875 CommandLine cmd(InstallUtil::GetChromeUninstallCmd(system_level_toast, | 875 CommandLine cmd(InstallUtil::GetChromeUninstallCmd(system_level_toast, |
876 GetType())); | 876 GetType())); |
877 base::LaunchProcess(cmd, base::LaunchOptions(), NULL); | 877 base::LaunchProcess(cmd, base::LaunchOptions(), NULL); |
878 } | 878 } |
879 | 879 |
880 bool GoogleChromeDistribution::ShouldWriteExperimentLabels() const { | |
grt (UTC plus 2)
2012/11/24 02:58:37
I think this should be moved down below the #endif
SteveT
2012/11/26 20:45:06
Done.
| |
881 return true; | |
882 } | |
880 #endif | 883 #endif |
OLD | NEW |