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

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

Issue 9317074: Create an API around UtilityProcessHost and use that from chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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/browser/extensions/webstore_install_helper.cc ('k') | chrome/browser/image_decoder.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.h" 5 #include "chrome/browser/first_run/first_run.h"
6 6
7 #include <shlobj.h> 7 #include <shlobj.h>
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <set> 10 #include <set>
11 #include <sstream> 11 #include <sstream>
12 12
13 #include "base/environment.h" 13 #include "base/environment.h"
14 #include "base/file_util.h" 14 #include "base/file_util.h"
15 #include "base/path_service.h" 15 #include "base/path_service.h"
16 #include "base/process_util.h"
16 #include "base/string_number_conversions.h" 17 #include "base/string_number_conversions.h"
17 #include "base/string_split.h" 18 #include "base/string_split.h"
18 #include "base/stringprintf.h" 19 #include "base/stringprintf.h"
19 #include "base/utf_string_conversions.h" 20 #include "base/utf_string_conversions.h"
20 #include "base/win/object_watcher.h" 21 #include "base/win/object_watcher.h"
21 #include "base/win/windows_version.h" 22 #include "base/win/windows_version.h"
22 #include "chrome/browser/browser_process.h" 23 #include "chrome/browser/browser_process.h"
23 #include "chrome/browser/extensions/extension_service.h" 24 #include "chrome/browser/extensions/extension_service.h"
24 #include "chrome/browser/extensions/extension_updater.h" 25 #include "chrome/browser/extensions/extension_updater.h"
25 #include "chrome/browser/first_run/first_run_import_observer.h" 26 #include "chrome/browser/first_run/first_run_import_observer.h"
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 484
484 FilePath MasterPrefsPath() { 485 FilePath MasterPrefsPath() {
485 // The standard location of the master prefs is next to the chrome binary. 486 // The standard location of the master prefs is next to the chrome binary.
486 FilePath master_prefs; 487 FilePath master_prefs;
487 if (!PathService::Get(base::DIR_EXE, &master_prefs)) 488 if (!PathService::Get(base::DIR_EXE, &master_prefs))
488 return FilePath(); 489 return FilePath();
489 return master_prefs.AppendASCII(installer::kDefaultMasterPrefs); 490 return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
490 } 491 }
491 492
492 } // namespace first_run 493 } // namespace first_run
OLDNEW
« no previous file with comments | « chrome/browser/extensions/webstore_install_helper.cc ('k') | chrome/browser/image_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698