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

Side by Side Diff: chrome/browser/profiles/profile_manager.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
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 // This class keeps track of the currently-active profiles in the runtime. 5 // This class keeps track of the currently-active profiles in the runtime.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
9 9
10 #include <list> 10 #include <list>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/containers/hash_tables.h" 14 #include "base/containers/hash_tables.h"
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/gtest_prod_util.h" 16 #include "base/gtest_prod_util.h"
17 #include "base/memory/linked_ptr.h" 17 #include "base/memory/linked_ptr.h"
18 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
19 #include "base/message_loop/message_loop.h" 19 #include "base/message_loop/message_loop.h"
20 #include "base/threading/non_thread_safe.h" 20 #include "base/threading/non_thread_safe.h"
21 #include "chrome/browser/profiles/profile.h" 21 #include "chrome/browser/profiles/profile.h"
22 #include "chrome/browser/profiles/profile_shortcut_manager.h" 22 #include "chrome/browser/profiles/profile_shortcut_manager.h"
23 #include "chrome/browser/ui/browser_list_observer.h" 23 #include "chrome/browser/ui/browser_list_observer.h"
24 #include "content/public/browser/notification_observer.h" 24 #include "content/public/browser/notification_observer.h"
25 #include "content/public/browser/notification_registrar.h" 25 #include "content/public/browser/notification_registrar.h"
26 26
27 class CommandLine;
28 class NewProfileLauncher; 27 class NewProfileLauncher;
29 class ProfileInfoCache; 28 class ProfileInfoCache;
30 29
31 class ProfileManager : public base::NonThreadSafe, 30 class ProfileManager : public base::NonThreadSafe,
32 public content::NotificationObserver, 31 public content::NotificationObserver,
33 public Profile::Delegate { 32 public Profile::Delegate {
34 public: 33 public:
35 typedef base::Callback<void(Profile*, Profile::CreateStatus)> CreateCallback; 34 typedef base::Callback<void(Profile*, Profile::CreateStatus)> CreateCallback;
36 35
37 explicit ProfileManager(const base::FilePath& user_data_dir); 36 explicit ProfileManager(const base::FilePath& user_data_dir);
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 class ProfileManagerWithoutInit : public ProfileManager { 350 class ProfileManagerWithoutInit : public ProfileManager {
352 public: 351 public:
353 explicit ProfileManagerWithoutInit(const base::FilePath& user_data_dir); 352 explicit ProfileManagerWithoutInit(const base::FilePath& user_data_dir);
354 353
355 protected: 354 protected:
356 virtual void DoFinalInitForServices(Profile*, bool) OVERRIDE {} 355 virtual void DoFinalInitForServices(Profile*, bool) OVERRIDE {}
357 virtual void DoFinalInitLogging(Profile*) OVERRIDE {} 356 virtual void DoFinalInitLogging(Profile*) OVERRIDE {}
358 }; 357 };
359 358
360 #endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ 359 #endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/process_singleton_startup_lock.h ('k') | chrome/browser/profiles/profile_shortcut_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698