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_INDEXED_DB_INDEXED_DB_CONTEXT_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONTEXT_IMPL_H_ |
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONTEXT_IMPL_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONTEXT_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "content/public/browser/indexed_db_context.h" | 16 #include "content/public/browser/indexed_db_context.h" |
17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
18 #include "webkit/quota/quota_types.h" | 18 #include "webkit/common/quota/quota_types.h" |
19 | 19 |
20 class GURL; | 20 class GURL; |
21 | 21 |
22 namespace WebKit { | 22 namespace WebKit { |
23 class WebIDBDatabase; | 23 class WebIDBDatabase; |
24 class WebIDBFactory; | 24 class WebIDBFactory; |
25 } | 25 } |
26 | 26 |
27 namespace base { | 27 namespace base { |
28 class FilePath; | 28 class FilePath; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 OriginToSizeMap space_available_map_; | 132 OriginToSizeMap space_available_map_; |
133 typedef std::set<WebKit::WebIDBDatabase*> ConnectionSet; | 133 typedef std::set<WebKit::WebIDBDatabase*> ConnectionSet; |
134 std::map<GURL, ConnectionSet> connections_; | 134 std::map<GURL, ConnectionSet> connections_; |
135 | 135 |
136 DISALLOW_COPY_AND_ASSIGN(IndexedDBContextImpl); | 136 DISALLOW_COPY_AND_ASSIGN(IndexedDBContextImpl); |
137 }; | 137 }; |
138 | 138 |
139 } // namespace content | 139 } // namespace content |
140 | 140 |
141 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONTEXT_IMPL_H_ | 141 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONTEXT_IMPL_H_ |
OLD | NEW |