| 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> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "storage/browser/blob/blob_data_handle.h" | 23 #include "storage/browser/blob/blob_data_handle.h" |
| 24 #include "url/gurl.h" | 24 #include "url/gurl.h" |
| 25 | 25 |
| 26 namespace url { | 26 namespace url { |
| 27 class Origin; | 27 class Origin; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace content { | 30 namespace content { |
| 31 class IndexedDBBlobInfo; | 31 class IndexedDBBlobInfo; |
| 32 class IndexedDBCallbacks; | 32 class IndexedDBCallbacks; |
| 33 class IndexedDBConnection; | |
| 34 class IndexedDBContextImpl; | 33 class IndexedDBContextImpl; |
| 35 class IndexedDBDatabaseCallbacks; | 34 class IndexedDBDatabaseCallbacks; |
| 36 | 35 |
| 37 // Handles all IndexedDB related messages from a particular renderer process. | 36 // Handles all IndexedDB related messages from a particular renderer process. |
| 38 class IndexedDBDispatcherHost | 37 class IndexedDBDispatcherHost |
| 39 : public BrowserMessageFilter, | 38 : public BrowserMessageFilter, |
| 40 public BrowserAssociatedInterface<::indexed_db::mojom::Factory>, | 39 public BrowserAssociatedInterface<::indexed_db::mojom::Factory>, |
| 41 public ::indexed_db::mojom::Factory { | 40 public ::indexed_db::mojom::Factory { |
| 42 public: | 41 public: |
| 43 // Only call the constructor from the UI thread. | 42 // Only call the constructor from the UI thread. |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 | 143 |
| 145 // Used to set file permissions for blob storage. | 144 // Used to set file permissions for blob storage. |
| 146 int ipc_process_id_; | 145 int ipc_process_id_; |
| 147 | 146 |
| 148 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); | 147 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); |
| 149 }; | 148 }; |
| 150 | 149 |
| 151 } // namespace content | 150 } // namespace content |
| 152 | 151 |
| 153 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ | 152 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ |
| OLD | NEW |