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 #ifndef CHROME_BROWSER_PROFILES_PROFILE_KEYED_BASE_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_KEYED_BASE_FACTORY_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILE_KEYED_BASE_FACTORY_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_KEYED_BASE_FACTORY_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/threading/non_thread_safe.h" | 10 #include "base/threading/non_thread_safe.h" |
11 #include "chrome/browser/profiles/dependency_node.h" | 11 #include "chrome/browser/profiles/dependency_node.h" |
12 | 12 |
13 class PrefService; | 13 class PrefService; |
14 class Profile; | |
15 class ProfileDependencyManager; | 14 class ProfileDependencyManager; |
16 | 15 |
17 namespace content { | 16 namespace content { |
18 class BrowserContext; | 17 class BrowserContext; |
19 } | 18 } |
20 | 19 |
21 namespace user_prefs { | 20 namespace user_prefs { |
22 class PrefRegistrySyncable; | 21 class PrefRegistrySyncable; |
23 } | 22 } |
24 // Base class for Factories that take a Profile object and return some service. | 23 // Base class for Factories that take a Profile object and return some service. |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 124 |
126 #if !defined(NDEBUG) | 125 #if !defined(NDEBUG) |
127 // A static string passed in to our constructor. Should be unique across all | 126 // A static string passed in to our constructor. Should be unique across all |
128 // services. This is used only for debugging in debug mode. (We can print | 127 // services. This is used only for debugging in debug mode. (We can print |
129 // pretty graphs with GraphViz with this information.) | 128 // pretty graphs with GraphViz with this information.) |
130 const char* service_name_; | 129 const char* service_name_; |
131 #endif | 130 #endif |
132 }; | 131 }; |
133 | 132 |
134 #endif // CHROME_BROWSER_PROFILES_PROFILE_KEYED_BASE_FACTORY_H_ | 133 #endif // CHROME_BROWSER_PROFILES_PROFILE_KEYED_BASE_FACTORY_H_ |
OLD | NEW |