OLD | NEW |
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> |
| 11 |
10 #include <list> | 12 #include <list> |
11 #include <vector> | 13 #include <vector> |
12 | 14 |
13 #include "base/basictypes.h" | |
14 #include "base/containers/hash_tables.h" | 15 #include "base/containers/hash_tables.h" |
15 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
16 #include "base/gtest_prod_util.h" | 17 #include "base/gtest_prod_util.h" |
| 18 #include "base/macros.h" |
17 #include "base/memory/linked_ptr.h" | 19 #include "base/memory/linked_ptr.h" |
18 #include "base/memory/scoped_ptr.h" | 20 #include "base/memory/scoped_ptr.h" |
19 #include "base/message_loop/message_loop.h" | 21 #include "base/message_loop/message_loop.h" |
20 #include "base/threading/non_thread_safe.h" | 22 #include "base/threading/non_thread_safe.h" |
| 23 #include "build/build_config.h" |
21 #include "chrome/browser/profiles/profile.h" | 24 #include "chrome/browser/profiles/profile.h" |
22 #include "chrome/browser/profiles/profile_shortcut_manager.h" | 25 #include "chrome/browser/profiles/profile_shortcut_manager.h" |
23 #include "chrome/browser/ui/browser_list_observer.h" | 26 #include "chrome/browser/ui/browser_list_observer.h" |
24 #include "content/public/browser/notification_observer.h" | 27 #include "content/public/browser/notification_observer.h" |
25 #include "content/public/browser/notification_registrar.h" | 28 #include "content/public/browser/notification_registrar.h" |
26 | 29 |
27 class NewProfileLauncher; | 30 class NewProfileLauncher; |
28 class ProfileInfoCache; | 31 class ProfileInfoCache; |
29 | 32 |
30 class ProfileManager : public base::NonThreadSafe, | 33 class ProfileManager : public base::NonThreadSafe, |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 class ProfileManagerWithoutInit : public ProfileManager { | 384 class ProfileManagerWithoutInit : public ProfileManager { |
382 public: | 385 public: |
383 explicit ProfileManagerWithoutInit(const base::FilePath& user_data_dir); | 386 explicit ProfileManagerWithoutInit(const base::FilePath& user_data_dir); |
384 | 387 |
385 protected: | 388 protected: |
386 void DoFinalInitForServices(Profile*, bool) override {} | 389 void DoFinalInitForServices(Profile*, bool) override {} |
387 void DoFinalInitLogging(Profile*) override {} | 390 void DoFinalInitLogging(Profile*) override {} |
388 }; | 391 }; |
389 | 392 |
390 #endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ | 393 #endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_ |
OLD | NEW |