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

Side by Side Diff: chrome/browser/first_run/first_run_internal_win.cc

Issue 2076543002: Gender-neutralize even more pronouns. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « chrome/browser/first_run/first_run.cc ('k') | chrome/browser/lifetime/application_lifetime.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 (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/browser/first_run/first_run_internal.h" 5 #include "chrome/browser/first_run/first_run_internal.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <shellapi.h> 8 #include <shellapi.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 } // namespace 103 } // namespace
104 104
105 namespace first_run { 105 namespace first_run {
106 namespace internal { 106 namespace internal {
107 107
108 void DoPostImportPlatformSpecificTasks(Profile* /* profile */) { 108 void DoPostImportPlatformSpecificTasks(Profile* /* profile */) {
109 // Trigger the Active Setup command for system-level Chromes to finish 109 // Trigger the Active Setup command for system-level Chromes to finish
110 // configuring this user's install (e.g. per-user shortcuts). 110 // configuring this user's install (e.g. per-user shortcuts).
111 // Delay the task slightly to give Chrome launch I/O priority while also 111 // Delay the task slightly to give Chrome launch I/O priority while also
112 // making sure shortcuts are created promptly to avoid annoying the user by 112 // making sure shortcuts are created promptly to avoid annoying the user by
113 // re-creating shortcuts he previously deleted. 113 // re-creating shortcuts they previously deleted.
114 static const int64_t kTiggerActiveSetupDelaySeconds = 5; 114 static const int64_t kTiggerActiveSetupDelaySeconds = 5;
115 base::FilePath chrome_exe; 115 base::FilePath chrome_exe;
116 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) { 116 if (!PathService::Get(base::FILE_EXE, &chrome_exe)) {
117 NOTREACHED(); 117 NOTREACHED();
118 } else if (!InstallUtil::IsPerUserInstall(chrome_exe)) { 118 } else if (!InstallUtil::IsPerUserInstall(chrome_exe)) {
119 content::BrowserThread::GetBlockingPool()->PostDelayedTask( 119 content::BrowserThread::GetBlockingPool()->PostDelayedTask(
120 FROM_HERE, 120 FROM_HERE,
121 base::Bind(&InstallUtil::TriggerActiveSetupCommand), 121 base::Bind(&InstallUtil::TriggerActiveSetupCommand),
122 base::TimeDelta::FromSeconds(kTiggerActiveSetupDelaySeconds)); 122 base::TimeDelta::FromSeconds(kTiggerActiveSetupDelaySeconds));
123 } 123 }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 base::FilePath MasterPrefsPath() { 181 base::FilePath MasterPrefsPath() {
182 // The standard location of the master prefs is next to the chrome binary. 182 // The standard location of the master prefs is next to the chrome binary.
183 base::FilePath master_prefs; 183 base::FilePath master_prefs;
184 if (!PathService::Get(base::DIR_EXE, &master_prefs)) 184 if (!PathService::Get(base::DIR_EXE, &master_prefs))
185 return base::FilePath(); 185 return base::FilePath();
186 return master_prefs.AppendASCII(installer::kDefaultMasterPrefs); 186 return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
187 } 187 }
188 188
189 } // namespace internal 189 } // namespace internal
190 } // namespace first_run 190 } // namespace first_run
OLDNEW
« no previous file with comments | « chrome/browser/first_run/first_run.cc ('k') | chrome/browser/lifetime/application_lifetime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698