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

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

Issue 1133153002: Move Indexed DB Blink API headers to public/platform/modules/indexeddb (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months 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
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 #include "content/child/indexed_db/indexed_db_dispatcher.h" 5 #include "content/child/indexed_db/indexed_db_dispatcher.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/format_macros.h" 9 #include "base/format_macros.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "base/threading/thread_local.h" 12 #include "base/threading/thread_local.h"
13 #include "content/child/indexed_db/indexed_db_key_builders.h" 13 #include "content/child/indexed_db/indexed_db_key_builders.h"
14 #include "content/child/indexed_db/webidbcursor_impl.h" 14 #include "content/child/indexed_db/webidbcursor_impl.h"
15 #include "content/child/indexed_db/webidbdatabase_impl.h" 15 #include "content/child/indexed_db/webidbdatabase_impl.h"
16 #include "content/child/thread_safe_sender.h" 16 #include "content/child/thread_safe_sender.h"
17 #include "content/common/indexed_db/indexed_db_constants.h" 17 #include "content/common/indexed_db/indexed_db_constants.h"
18 #include "content/common/indexed_db/indexed_db_messages.h" 18 #include "content/common/indexed_db/indexed_db_messages.h"
19 #include "ipc/ipc_channel.h" 19 #include "ipc/ipc_channel.h"
20 #include "third_party/WebKit/public/platform/WebIDBDatabaseCallbacks.h" 20 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseCal lbacks.h"
21 #include "third_party/WebKit/public/platform/WebIDBDatabaseError.h" 21 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseErr or.h"
22 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h" 22 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseExc eption.h"
23 23
24 using blink::WebBlobInfo; 24 using blink::WebBlobInfo;
25 using blink::WebData; 25 using blink::WebData;
26 using blink::WebIDBCallbacks; 26 using blink::WebIDBCallbacks;
27 using blink::WebIDBCursor; 27 using blink::WebIDBCursor;
28 using blink::WebIDBDatabase; 28 using blink::WebIDBDatabase;
29 using blink::WebIDBDatabaseCallbacks; 29 using blink::WebIDBDatabaseCallbacks;
30 using blink::WebIDBDatabaseError; 30 using blink::WebIDBDatabaseError;
31 using blink::WebIDBKey; 31 using blink::WebIDBKey;
32 using blink::WebIDBMetadata; 32 using blink::WebIDBMetadata;
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 typedef std::map<int32, WebIDBCursorImpl*>::iterator Iterator; 773 typedef std::map<int32, WebIDBCursorImpl*>::iterator Iterator;
774 for (Iterator i = cursors_.begin(); i != cursors_.end(); ++i) { 774 for (Iterator i = cursors_.begin(); i != cursors_.end(); ++i) {
775 if (i->first == ipc_exception_cursor_id || 775 if (i->first == ipc_exception_cursor_id ||
776 i->second->transaction_id() != transaction_id) 776 i->second->transaction_id() != transaction_id)
777 continue; 777 continue;
778 i->second->ResetPrefetchCache(); 778 i->second->ResetPrefetchCache();
779 } 779 }
780 } 780 }
781 781
782 } // namespace content 782 } // namespace content
OLDNEW
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher.h ('k') | content/child/indexed_db/indexed_db_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698