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 CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "base/hash_tables.h" | 9 #include "base/containers/hash_tables.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/supports_user_data.h" | 11 #include "base/supports_user_data.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 | 13 |
14 class GURL; | 14 class GURL; |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class FilePath; | 17 class FilePath; |
18 } | 18 } |
19 | 19 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 struct hash<content::BrowserContext*> { | 159 struct hash<content::BrowserContext*> { |
160 std::size_t operator()(content::BrowserContext* const& p) const { | 160 std::size_t operator()(content::BrowserContext* const& p) const { |
161 return reinterpret_cast<std::size_t>(p); | 161 return reinterpret_cast<std::size_t>(p); |
162 } | 162 } |
163 }; | 163 }; |
164 | 164 |
165 } // namespace BASE_HASH_NAMESPACE | 165 } // namespace BASE_HASH_NAMESPACE |
166 #endif | 166 #endif |
167 | 167 |
168 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ | 168 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ |
OLD | NEW |