| 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_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ |
| 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <utility> | 12 #include <utility> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/id_map.h" | 15 #include "base/id_map.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "content/browser/blob_storage/chrome_blob_storage_context.h" | 19 #include "content/browser/blob_storage/chrome_blob_storage_context.h" |
| 20 #include "content/public/browser/browser_message_filter.h" | 20 #include "content/public/browser/browser_message_filter.h" |
| 21 #include "net/url_request/url_request_context_getter.h" | 21 #include "net/url_request/url_request_context_getter.h" |
| 22 #include "storage/browser/blob/blob_data_handle.h" | 22 #include "storage/browser/blob/blob_data_handle.h" |
| 23 #include "storage/browser/quota/quota_manager.h" | 23 #include "storage/browser/quota/quota_manager.h" |
| 24 #include "storage/common/quota/quota_status_code.h" | 24 #include "storage/common/quota/quota_status_code.h" |
| 25 #include "url/gurl.h" | 25 #include "url/gurl.h" |
| 26 | 26 |
| 27 #if 0 |
| 28 |
| 27 struct IndexedDBDatabaseMetadata; | 29 struct IndexedDBDatabaseMetadata; |
| 28 struct IndexedDBHostMsg_DatabaseCount_Params; | 30 struct IndexedDBHostMsg_DatabaseCount_Params; |
| 29 struct IndexedDBHostMsg_DatabaseCreateIndex_Params; | 31 struct IndexedDBHostMsg_DatabaseCreateIndex_Params; |
| 30 struct IndexedDBHostMsg_DatabaseCreateObjectStore_Params; | 32 struct IndexedDBHostMsg_DatabaseCreateObjectStore_Params; |
| 31 struct IndexedDBHostMsg_DatabaseCreateTransaction_Params; | 33 struct IndexedDBHostMsg_DatabaseCreateTransaction_Params; |
| 32 struct IndexedDBHostMsg_DatabaseDeleteRange_Params; | 34 struct IndexedDBHostMsg_DatabaseDeleteRange_Params; |
| 33 struct IndexedDBHostMsg_DatabaseGet_Params; | 35 struct IndexedDBHostMsg_DatabaseGet_Params; |
| 34 struct IndexedDBHostMsg_DatabaseGetAll_Params; | 36 struct IndexedDBHostMsg_DatabaseGetAll_Params; |
| 35 struct IndexedDBHostMsg_DatabaseOpenCursor_Params; | 37 struct IndexedDBHostMsg_DatabaseOpenCursor_Params; |
| 36 struct IndexedDBHostMsg_DatabasePut_Params; | 38 struct IndexedDBHostMsg_DatabasePut_Params; |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 std::unique_ptr<CursorDispatcherHost> cursor_dispatcher_host_; | 309 std::unique_ptr<CursorDispatcherHost> cursor_dispatcher_host_; |
| 308 | 310 |
| 309 // Used to set file permissions for blob storage. | 311 // Used to set file permissions for blob storage. |
| 310 int ipc_process_id_; | 312 int ipc_process_id_; |
| 311 | 313 |
| 312 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); | 314 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); |
| 313 }; | 315 }; |
| 314 | 316 |
| 315 } // namespace content | 317 } // namespace content |
| 316 | 318 |
| 319 #endif |
| 320 |
| 317 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ | 321 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ |
| OLD | NEW |