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 21 matching lines...) Expand all Loading... |
32 struct IndexedDBHostMsg_DatabaseCreateIndex_Params; | 32 struct IndexedDBHostMsg_DatabaseCreateIndex_Params; |
33 struct IndexedDBHostMsg_DatabaseCreateObjectStore_Params; | 33 struct IndexedDBHostMsg_DatabaseCreateObjectStore_Params; |
34 struct IndexedDBHostMsg_DatabaseCreateTransaction_Params; | 34 struct IndexedDBHostMsg_DatabaseCreateTransaction_Params; |
35 struct IndexedDBHostMsg_DatabaseDeleteRange_Params; | 35 struct IndexedDBHostMsg_DatabaseDeleteRange_Params; |
36 struct IndexedDBHostMsg_DatabaseGet_Params; | 36 struct IndexedDBHostMsg_DatabaseGet_Params; |
37 struct IndexedDBHostMsg_DatabaseGetAll_Params; | 37 struct IndexedDBHostMsg_DatabaseGetAll_Params; |
38 struct IndexedDBHostMsg_DatabaseObserve_Params; | 38 struct IndexedDBHostMsg_DatabaseObserve_Params; |
39 struct IndexedDBHostMsg_DatabaseOpenCursor_Params; | 39 struct IndexedDBHostMsg_DatabaseOpenCursor_Params; |
40 struct IndexedDBHostMsg_DatabasePut_Params; | 40 struct IndexedDBHostMsg_DatabasePut_Params; |
41 struct IndexedDBHostMsg_DatabaseSetIndexKeys_Params; | 41 struct IndexedDBHostMsg_DatabaseSetIndexKeys_Params; |
42 struct IndexedDBHostMsg_FactoryDeleteDatabase_Params; | |
43 struct IndexedDBHostMsg_FactoryGetDatabaseNames_Params; | |
44 struct IndexedDBHostMsg_FactoryOpen_Params; | |
45 struct IndexedDBMsg_Observation; | 42 struct IndexedDBMsg_Observation; |
46 struct IndexedDBMsg_ObserverChanges; | 43 struct IndexedDBMsg_ObserverChanges; |
47 | 44 |
48 namespace url { | 45 namespace url { |
49 class Origin; | 46 class Origin; |
50 } | 47 } |
51 | 48 |
52 namespace content { | 49 namespace content { |
53 class IndexedDBBlobInfo; | 50 class IndexedDBBlobInfo; |
54 class IndexedDBCallbacks; | 51 class IndexedDBCallbacks; |
55 class IndexedDBConnection; | 52 class IndexedDBConnection; |
56 class IndexedDBContextImpl; | 53 class IndexedDBContextImpl; |
57 class IndexedDBCursor; | 54 class IndexedDBCursor; |
58 class IndexedDBDatabaseCallbacks; | 55 class IndexedDBDatabaseCallbacks; |
59 class IndexedDBKey; | 56 class IndexedDBKey; |
60 class IndexedDBKeyPath; | |
61 class IndexedDBKeyRange; | |
62 class IndexedDBObservation; | 57 class IndexedDBObservation; |
63 class IndexedDBObserverChanges; | 58 class IndexedDBObserverChanges; |
64 struct IndexedDBDatabaseMetadata; | 59 struct IndexedDBDatabaseMetadata; |
65 | 60 |
66 // Handles all IndexedDB related messages from a particular renderer process. | 61 // Handles all IndexedDB related messages from a particular renderer process. |
67 class IndexedDBDispatcherHost | 62 class IndexedDBDispatcherHost |
68 : public BrowserMessageFilter, | 63 : public BrowserMessageFilter, |
69 public BrowserAssociatedInterface<::indexed_db::mojom::Factory>, | 64 public BrowserAssociatedInterface<::indexed_db::mojom::Factory>, |
70 public ::indexed_db::mojom::Factory { | 65 public ::indexed_db::mojom::Factory { |
71 public: | 66 public: |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 | 348 |
354 // Used to set file permissions for blob storage. | 349 // Used to set file permissions for blob storage. |
355 int ipc_process_id_; | 350 int ipc_process_id_; |
356 | 351 |
357 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); | 352 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBDispatcherHost); |
358 }; | 353 }; |
359 | 354 |
360 } // namespace content | 355 } // namespace content |
361 | 356 |
362 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ | 357 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DISPATCHER_HOST_H_ |
OLD | NEW |