| 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 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CONTEXT_H_ | 5 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CONTEXT_H_ |
| 6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CONTEXT_H_ | 6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CONTEXT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 18 #include "content/browser/browser_thread.h" | |
| 19 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
| 19 #include "content/public/browser/browser_thread.h" |
| 20 #include "googleurl/src/gurl.h" | 20 #include "googleurl/src/gurl.h" |
| 21 #include "webkit/quota/quota_types.h" | 21 #include "webkit/quota/quota_types.h" |
| 22 | 22 |
| 23 class GURL; | 23 class GURL; |
| 24 class FilePath; | 24 class FilePath; |
| 25 class WebKitContext; | 25 class WebKitContext; |
| 26 | 26 |
| 27 namespace WebKit { | 27 namespace WebKit { |
| 28 class WebIDBFactory; | 28 class WebIDBFactory; |
| 29 } | 29 } |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 scoped_refptr<quota::QuotaManagerProxy> quota_manager_proxy_; | 122 scoped_refptr<quota::QuotaManagerProxy> quota_manager_proxy_; |
| 123 scoped_ptr<std::set<GURL> > origin_set_; | 123 scoped_ptr<std::set<GURL> > origin_set_; |
| 124 OriginToSizeMap origin_size_map_; | 124 OriginToSizeMap origin_size_map_; |
| 125 OriginToSizeMap space_available_map_; | 125 OriginToSizeMap space_available_map_; |
| 126 std::map<GURL, unsigned int> connection_count_; | 126 std::map<GURL, unsigned int> connection_count_; |
| 127 | 127 |
| 128 DISALLOW_COPY_AND_ASSIGN(IndexedDBContext); | 128 DISALLOW_COPY_AND_ASSIGN(IndexedDBContext); |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CONTEXT_H_ | 131 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CONTEXT_H_ |
| OLD | NEW |