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 #pragma once | |
8 | 7 |
9 #include "base/hash_tables.h" | 8 #include "base/hash_tables.h" |
10 #include "base/supports_user_data.h" | 9 #include "base/supports_user_data.h" |
11 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
12 | 11 |
13 namespace appcache { | 12 namespace appcache { |
14 class AppCacheService; | 13 class AppCacheService; |
15 } | 14 } |
16 | 15 |
17 namespace fileapi { | 16 namespace fileapi { |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 struct hash<content::BrowserContext*> { | 134 struct hash<content::BrowserContext*> { |
136 std::size_t operator()(content::BrowserContext* const& p) const { | 135 std::size_t operator()(content::BrowserContext* const& p) const { |
137 return reinterpret_cast<std::size_t>(p); | 136 return reinterpret_cast<std::size_t>(p); |
138 } | 137 } |
139 }; | 138 }; |
140 | 139 |
141 } // namespace BASE_HASH_NAMESPACE | 140 } // namespace BASE_HASH_NAMESPACE |
142 #endif | 141 #endif |
143 | 142 |
144 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ | 143 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ |
OLD | NEW |