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

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

Issue 16328003: Move a bunch of child-only code from content/common to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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 | Annotate | Revision Log
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 "base/format_macros.h" 7 #include "base/format_macros.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "base/stringprintf.h" 9 #include "base/stringprintf.h"
10 #include "base/threading/thread_local.h" 10 #include "base/threading/thread_local.h"
11 #include "content/child/child_thread.h"
11 #include "content/child/indexed_db/proxy_webidbcursor_impl.h" 12 #include "content/child/indexed_db/proxy_webidbcursor_impl.h"
12 #include "content/child/indexed_db/proxy_webidbdatabase_impl.h" 13 #include "content/child/indexed_db/proxy_webidbdatabase_impl.h"
13 #include "content/common/child_thread.h"
14 #include "content/common/indexed_db/indexed_db_messages.h" 14 #include "content/common/indexed_db/indexed_db_messages.h"
15 #include "ipc/ipc_channel.h" 15 #include "ipc/ipc_channel.h"
16 #include "third_party/WebKit/public/platform/WebIDBDatabaseCallbacks.h" 16 #include "third_party/WebKit/public/platform/WebIDBDatabaseCallbacks.h"
17 #include "third_party/WebKit/public/platform/WebIDBDatabaseError.h" 17 #include "third_party/WebKit/public/platform/WebIDBDatabaseError.h"
18 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h" 18 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h"
19 #include "third_party/WebKit/public/platform/WebIDBKeyRange.h" 19 #include "third_party/WebKit/public/platform/WebIDBKeyRange.h"
20 20
21 using WebKit::WebData; 21 using WebKit::WebData;
22 using WebKit::WebIDBCallbacks; 22 using WebKit::WebIDBCallbacks;
23 using WebKit::WebIDBDatabase; 23 using WebKit::WebIDBDatabase;
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 int32 ipc_exception_cursor_id) { 704 int32 ipc_exception_cursor_id) {
705 typedef std::map<int32, RendererWebIDBCursorImpl*>::iterator Iterator; 705 typedef std::map<int32, RendererWebIDBCursorImpl*>::iterator Iterator;
706 for (Iterator i = cursors_.begin(); i != cursors_.end(); ++i) { 706 for (Iterator i = cursors_.begin(); i != cursors_.end(); ++i) {
707 if (i->first == ipc_exception_cursor_id) 707 if (i->first == ipc_exception_cursor_id)
708 continue; 708 continue;
709 i->second->ResetPrefetchCache(); 709 i->second->ResetPrefetchCache();
710 } 710 }
711 } 711 }
712 712
713 } // namespace content 713 } // namespace content
OLDNEW
« no previous file with comments | « content/child/fileapi/webfilewriter_impl.cc ('k') | content/child/indexed_db/indexed_db_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698