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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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) 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 <stddef.h> 10 #include <stddef.h>
(...skipping 11 matching lines...) Expand all
22 #include "base/threading/non_thread_safe.h" 22 #include "base/threading/non_thread_safe.h"
23 #include "build/build_config.h" 23 #include "build/build_config.h"
24 #include "chrome/browser/profiles/profile.h" 24 #include "chrome/browser/profiles/profile.h"
25 #include "chrome/browser/profiles/profile_metrics.h" 25 #include "chrome/browser/profiles/profile_metrics.h"
26 #include "chrome/browser/profiles/profile_shortcut_manager.h" 26 #include "chrome/browser/profiles/profile_shortcut_manager.h"
27 #include "chrome/browser/ui/browser_list_observer.h" 27 #include "chrome/browser/ui/browser_list_observer.h"
28 #include "chrome/common/features.h" 28 #include "chrome/common/features.h"
29 #include "content/public/browser/notification_observer.h" 29 #include "content/public/browser/notification_observer.h"
30 #include "content/public/browser/notification_registrar.h" 30 #include "content/public/browser/notification_registrar.h"
31 31
32 class NewProfileLauncher;
33 class ProfileAttributesStorage; 32 class ProfileAttributesStorage;
34 class ProfileInfoCache; 33 class ProfileInfoCache;
35 34
36 class ProfileManager : public base::NonThreadSafe, 35 class ProfileManager : public base::NonThreadSafe,
37 public content::NotificationObserver, 36 public content::NotificationObserver,
38 public Profile::Delegate { 37 public Profile::Delegate {
39 public: 38 public:
40 typedef base::Callback<void(Profile*, Profile::CreateStatus)> CreateCallback; 39 typedef base::Callback<void(Profile*, Profile::CreateStatus)> CreateCallback;
41 typedef base::Callback<void(Profile*)> ProfileLoadedCallback; 40 typedef base::Callback<void(Profile*)> ProfileLoadedCallback;
42 41
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 class ProfileManagerWithoutInit : public ProfileManager { 426 class ProfileManagerWithoutInit : public ProfileManager {
428 public: 427 public:
429 explicit ProfileManagerWithoutInit(const base::FilePath& user_data_dir); 428 explicit ProfileManagerWithoutInit(const base::FilePath& user_data_dir);
430 429
431 protected: 430 protected:
432 void DoFinalInitForServices(Profile*, bool) override {} 431 void DoFinalInitForServices(Profile*, bool) override {}
433 void DoFinalInitLogging(Profile*) override {} 432 void DoFinalInitLogging(Profile*) override {}
434 }; 433 };
435 434
436 #endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ 435 #endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_list_desktop.h ('k') | chrome/browser/profiles/profile_statistics_aggregator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698