OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 9 #pragma once |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "chrome/browser/net/preconnect.h" // TODO: remove this. | 15 #include "chrome/browser/net/preconnect.h" // TODO: remove this. |
16 #include "chrome/browser/net/pref_proxy_config_tracker.h" | 16 #include "chrome/browser/net/pref_proxy_config_tracker.h" |
17 #include "chrome/common/extensions/extension_constants.h" | 17 #include "chrome/common/extensions/extension_constants.h" |
18 #include "content/browser/browser_context.h" | 18 #include "content/public/browser/browser_context.h" |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class Time; | 21 class Time; |
22 } | 22 } |
23 | 23 |
24 namespace chromeos { | 24 namespace chromeos { |
25 class LibCrosServiceLibraryImpl; | 25 class LibCrosServiceLibraryImpl; |
26 class ResetDefaultProxyConfigServiceTask; | 26 class ResetDefaultProxyConfigServiceTask; |
27 } | 27 } |
28 | 28 |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 struct hash<Profile*> { | 575 struct hash<Profile*> { |
576 std::size_t operator()(Profile* const& p) const { | 576 std::size_t operator()(Profile* const& p) const { |
577 return reinterpret_cast<std::size_t>(p); | 577 return reinterpret_cast<std::size_t>(p); |
578 } | 578 } |
579 }; | 579 }; |
580 | 580 |
581 } // namespace __gnu_cxx | 581 } // namespace __gnu_cxx |
582 #endif | 582 #endif |
583 | 583 |
584 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 584 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |