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 gathers state related to a single user profile. | 5 // This class gathers state related to a single user profile. |
6 | 6 |
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_ |
8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | |
13 #include "base/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
14 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/macros.h" |
| 15 #include "build/build_config.h" |
15 #include "components/domain_reliability/clear_mode.h" | 16 #include "components/domain_reliability/clear_mode.h" |
16 #include "content/public/browser/browser_context.h" | 17 #include "content/public/browser/browser_context.h" |
17 #include "content/public/browser/content_browser_client.h" | 18 #include "content/public/browser/content_browser_client.h" |
18 | 19 |
19 class ChromeAppCacheService; | 20 class ChromeAppCacheService; |
20 class ChromeZoomLevelPrefs; | 21 class ChromeZoomLevelPrefs; |
21 class DevToolsNetworkControllerHandle; | 22 class DevToolsNetworkControllerHandle; |
22 class ExtensionSpecialStoragePolicy; | 23 class ExtensionSpecialStoragePolicy; |
23 class HostContentSettingsMap; | 24 class HostContentSettingsMap; |
24 class PrefProxyConfigTracker; | 25 class PrefProxyConfigTracker; |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 | 396 |
396 DISALLOW_COPY_AND_ASSIGN(Profile); | 397 DISALLOW_COPY_AND_ASSIGN(Profile); |
397 }; | 398 }; |
398 | 399 |
399 // The comparator for profile pointers as key in a map. | 400 // The comparator for profile pointers as key in a map. |
400 struct ProfileCompare { | 401 struct ProfileCompare { |
401 bool operator()(Profile* a, Profile* b) const; | 402 bool operator()(Profile* a, Profile* b) const; |
402 }; | 403 }; |
403 | 404 |
404 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 405 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |