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 #pragma once | |
10 | 9 |
11 #include <string> | 10 #include <string> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "base/hash_tables.h" | 13 #include "base/hash_tables.h" |
15 #include "base/logging.h" | 14 #include "base/logging.h" |
16 #include "chrome/browser/net/pref_proxy_config_tracker.h" | 15 #include "chrome/browser/net/pref_proxy_config_tracker.h" |
17 #include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h" | 16 #include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h" |
18 #include "content/public/browser/browser_context.h" | 17 #include "content/public/browser/browser_context.h" |
19 | 18 |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 struct hash<Profile*> { | 424 struct hash<Profile*> { |
426 std::size_t operator()(Profile* const& p) const { | 425 std::size_t operator()(Profile* const& p) const { |
427 return reinterpret_cast<std::size_t>(p); | 426 return reinterpret_cast<std::size_t>(p); |
428 } | 427 } |
429 }; | 428 }; |
430 | 429 |
431 } // namespace BASE_HASH_NAMESPACE | 430 } // namespace BASE_HASH_NAMESPACE |
432 #endif | 431 #endif |
433 | 432 |
434 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 433 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |