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_BROWSER_STORAGE_PARTITION_MAP_H_ | 5 #ifndef CONTENT_BROWSER_STORAGE_PARTITION_MAP_H_ |
6 #define CONTENT_BROWSER_STORAGE_PARTITION_MAP_H_ | 6 #define CONTENT_BROWSER_STORAGE_PARTITION_MAP_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "base/containers/hash_tables.h" |
12 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
13 #include "base/hash_tables.h" | |
14 #include "base/supports_user_data.h" | 14 #include "base/supports_user_data.h" |
15 #include "content/browser/storage_partition_impl.h" | 15 #include "content/browser/storage_partition_impl.h" |
16 #include "content/public/browser/browser_context.h" | 16 #include "content/public/browser/browser_context.h" |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class FilePath; | 19 class FilePath; |
20 class SequencedTaskRunner; | 20 class SequencedTaskRunner; |
21 } // namespace base | 21 } // namespace base |
22 | 22 |
23 namespace content { | 23 namespace content { |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 PartitionMap partitions_; | 123 PartitionMap partitions_; |
124 | 124 |
125 // Set to true when the ResourceContext for the associated |browser_context_| | 125 // Set to true when the ResourceContext for the associated |browser_context_| |
126 // is initialized. Can never return to false. | 126 // is initialized. Can never return to false. |
127 bool resource_context_initialized_; | 127 bool resource_context_initialized_; |
128 }; | 128 }; |
129 | 129 |
130 } // namespace content | 130 } // namespace content |
131 | 131 |
132 #endif // CONTENT_BROWSER_STORAGE_PARTITION_MAP_H_ | 132 #endif // CONTENT_BROWSER_STORAGE_PARTITION_MAP_H_ |
OLD | NEW |