Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(512)

Side by Side Diff: chrome/installer/util/user_experiment.cc

Issue 16421004: Use a direct include of strings headers in chrome/installer/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/installer/util/user_experiment.h ('k') | chrome/installer/util/wmi.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/user_experiment.h" 5 #include "chrome/installer/util/user_experiment.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <sddl.h> 8 #include <sddl.h>
9 #include <wtsapi32.h> 9 #include <wtsapi32.h>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/process_util.h" 14 #include "base/process_util.h"
15 #include "base/rand_util.h" 15 #include "base/rand_util.h"
16 #include "base/string_util.h"
17 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
18 #include "base/strings/string_split.h" 17 #include "base/strings/string_split.h"
18 #include "base/strings/string_util.h"
19 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
20 #include "base/win/scoped_handle.h" 20 #include "base/win/scoped_handle.h"
21 #include "base/win/windows_version.h" 21 #include "base/win/windows_version.h"
22 #include "chrome/common/attrition_experiments.h" 22 #include "chrome/common/attrition_experiments.h"
23 #include "chrome/common/chrome_result_codes.h" 23 #include "chrome/common/chrome_result_codes.h"
24 #include "chrome/common/chrome_switches.h" 24 #include "chrome/common/chrome_switches.h"
25 #include "chrome/installer/util/browser_distribution.h" 25 #include "chrome/installer/util/browser_distribution.h"
26 #include "chrome/installer/util/google_update_constants.h" 26 #include "chrome/installer/util/google_update_constants.h"
27 #include "chrome/installer/util/google_update_settings.h" 27 #include "chrome/installer/util/google_update_settings.h"
28 #include "chrome/installer/util/helper.h" 28 #include "chrome/installer/util/helper.h"
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 // running. 529 // running.
530 bool system_level_toast = CommandLine::ForCurrentProcess()->HasSwitch( 530 bool system_level_toast = CommandLine::ForCurrentProcess()->HasSwitch(
531 switches::kSystemLevelToast); 531 switches::kSystemLevelToast);
532 532
533 CommandLine cmd(InstallUtil::GetChromeUninstallCmd( 533 CommandLine cmd(InstallUtil::GetChromeUninstallCmd(
534 system_level_toast, product.distribution()->GetType())); 534 system_level_toast, product.distribution()->GetType()));
535 base::LaunchProcess(cmd, base::LaunchOptions(), NULL); 535 base::LaunchProcess(cmd, base::LaunchOptions(), NULL);
536 } 536 }
537 537
538 } // namespace installer 538 } // namespace installer
OLDNEW
« no previous file with comments | « chrome/installer/util/user_experiment.h ('k') | chrome/installer/util/wmi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698