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

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

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 // TODO(port): move more code in back from the first_run_win.cc module. 9 // TODO(port): move more code in back from the first_run_win.cc module.
10 10
11 #if defined(OS_WIN) 11 #if defined(OS_WIN)
12 #include "chrome/installer/util/google_update_settings.h" 12 #include "chrome/installer/util/google_update_settings.h"
13 #include "chrome/installer/util/install_util.h" 13 #include "chrome/installer/util/install_util.h"
14 #endif 14 #endif
15 15
16 #include "base/command_line.h" 16 #include "base/command_line.h"
17 #include "base/file_util.h" 17 #include "base/file_util.h"
18 #include "base/path_service.h" 18 #include "base/path_service.h"
19 #include "base/utf_string_conversions.h" 19 #include "base/utf_string_conversions.h"
20 #include "chrome/browser/importer/importer.h" 20 #include "chrome/browser/importer/importer.h"
21 #include "chrome/browser/pref_service.h" 21 #include "chrome/browser/prefs/pref_service.h"
22 #include "chrome/browser/profile_manager.h" 22 #include "chrome/browser/profile_manager.h"
23 #include "chrome/browser/shell_integration.h" 23 #include "chrome/browser/shell_integration.h"
24 #include "chrome/common/chrome_paths.h" 24 #include "chrome/common/chrome_paths.h"
25 #include "chrome/common/chrome_switches.h" 25 #include "chrome/common/chrome_switches.h"
26 #include "chrome/common/pref_names.h" 26 #include "chrome/common/pref_names.h"
27 #include "chrome/installer/util/master_preferences.h" 27 #include "chrome/installer/util/master_preferences.h"
28 #include "chrome/installer/util/util_constants.h" 28 #include "chrome/installer/util/util_constants.h"
29 29
30 namespace { 30 namespace {
31 31
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 void FirstRunImportObserver::RunLoop() { 447 void FirstRunImportObserver::RunLoop() {
448 loop_running_ = true; 448 loop_running_ = true;
449 MessageLoop::current()->Run(); 449 MessageLoop::current()->Run();
450 } 450 }
451 451
452 void FirstRunImportObserver::Finish() { 452 void FirstRunImportObserver::Finish() {
453 if (loop_running_) 453 if (loop_running_)
454 MessageLoop::current()->Quit(); 454 MessageLoop::current()->Quit();
455 } 455 }
456 456
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698