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" | 12 #include "base/basictypes.h" |
13 #include "base/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "chrome/browser/net/pref_proxy_config_tracker.h" | 15 #include "chrome/browser/net/pref_proxy_config_tracker.h" |
16 #include "content/public/browser/browser_context.h" | 16 #include "content/public/browser/browser_context.h" |
17 #include "content/public/browser/content_browser_client.h" | 17 #include "content/public/browser/content_browser_client.h" |
18 #include "net/url_request/url_request_job_factory.h" | 18 #include "net/url_request/url_request_job_factory.h" |
19 | 19 |
20 class ChromeAppCacheService; | 20 class ChromeAppCacheService; |
21 class ExtensionService; | 21 class ExtensionService; |
22 class ExtensionSpecialStoragePolicy; | 22 class ExtensionSpecialStoragePolicy; |
23 class FaviconService; | 23 class FaviconService; |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 struct hash<Profile*> { | 400 struct hash<Profile*> { |
401 std::size_t operator()(Profile* const& p) const { | 401 std::size_t operator()(Profile* const& p) const { |
402 return reinterpret_cast<std::size_t>(p); | 402 return reinterpret_cast<std::size_t>(p); |
403 } | 403 } |
404 }; | 404 }; |
405 | 405 |
406 } // namespace BASE_HASH_NAMESPACE | 406 } // namespace BASE_HASH_NAMESPACE |
407 #endif | 407 #endif |
408 | 408 |
409 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 409 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |