Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: content/child/indexed_db/indexed_db_dispatcher.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/child/font_warmup_win.h ('k') | content/child/indexed_db/indexed_db_message_filter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 5 #ifndef CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 11 matching lines...) Expand all
22 #include "content/common/content_export.h" 22 #include "content/common/content_export.h"
23 #include "content/common/indexed_db/indexed_db_constants.h" 23 #include "content/common/indexed_db/indexed_db_constants.h"
24 #include "content/public/child/worker_thread.h" 24 #include "content/public/child/worker_thread.h"
25 #include "ipc/ipc_sync_message_filter.h" 25 #include "ipc/ipc_sync_message_filter.h"
26 #include "third_party/WebKit/public/platform/WebBlobInfo.h" 26 #include "third_party/WebKit/public/platform/WebBlobInfo.h"
27 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCallbacks.h " 27 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCallbacks.h "
28 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h" 28 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBObserver.h"
29 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" 29 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h"
30 #include "url/origin.h" 30 #include "url/origin.h"
31 31
32 struct IndexedDBDatabaseMetadata;
33 struct IndexedDBMsg_CallbacksSuccessCursorContinue_Params; 32 struct IndexedDBMsg_CallbacksSuccessCursorContinue_Params;
34 struct IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params; 33 struct IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params;
35 struct IndexedDBMsg_CallbacksSuccessIDBCursor_Params; 34 struct IndexedDBMsg_CallbacksSuccessIDBCursor_Params;
36 struct IndexedDBMsg_CallbacksSuccessArray_Params; 35 struct IndexedDBMsg_CallbacksSuccessArray_Params;
37 struct IndexedDBMsg_CallbacksSuccessValue_Params; 36 struct IndexedDBMsg_CallbacksSuccessValue_Params;
38 struct IndexedDBMsg_CallbacksUpgradeNeeded_Params;
39 struct IndexedDBMsg_Observation; 37 struct IndexedDBMsg_Observation;
40 struct IndexedDBMsg_ObserverChanges; 38 struct IndexedDBMsg_ObserverChanges;
41 39
42 namespace blink { 40 namespace blink {
43 class WebData; 41 class WebData;
44 struct WebIDBObservation; 42 struct WebIDBObservation;
45 } 43 }
46 44
47 namespace content { 45 namespace content {
48 class IndexedDBKey; 46 class IndexedDBKey;
49 class IndexedDBKeyPath;
50 class IndexedDBKeyRange; 47 class IndexedDBKeyRange;
51 class WebIDBCursorImpl; 48 class WebIDBCursorImpl;
52 class WebIDBDatabaseImpl; 49 class WebIDBDatabaseImpl;
53 class ThreadSafeSender; 50 class ThreadSafeSender;
54 51
55 // Handle the indexed db related communication for this context thread - the 52 // Handle the indexed db related communication for this context thread - the
56 // main thread and each worker thread have their own copies. 53 // main thread and each worker thread have their own copies.
57 class CONTENT_EXPORT IndexedDBDispatcher : public WorkerThread::Observer { 54 class CONTENT_EXPORT IndexedDBDispatcher : public WorkerThread::Observer {
58 public: 55 public:
59 // Constructor made public to allow RenderThreadImpl to own a copy without 56 // Constructor made public to allow RenderThreadImpl to own a copy without
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 std::map<int32_t, WebIDBCursorImpl*> cursors_; 271 std::map<int32_t, WebIDBCursorImpl*> cursors_;
275 272
276 std::map<int32_t, WebIDBDatabaseImpl*> databases_; 273 std::map<int32_t, WebIDBDatabaseImpl*> databases_;
277 274
278 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); 275 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher);
279 }; 276 };
280 277
281 } // namespace content 278 } // namespace content
282 279
283 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ 280 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/child/font_warmup_win.h ('k') | content/child/indexed_db/indexed_db_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698