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

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

Issue 8980002: Move indexeddb code to its own directory inside of content/{browser,common,renderer} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto ToT Created 9 years 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/renderer/indexed_db_dispatcher.h" 5 #include "content/renderer/indexed_db/indexed_db_dispatcher.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/threading/thread_local.h" 8 #include "base/threading/thread_local.h"
9 #include "content/common/indexed_db_messages.h" 9 #include "content/common/indexed_db/indexed_db_messages.h"
10 #include "content/renderer/indexed_db/renderer_webidbcursor_impl.h"
11 #include "content/renderer/indexed_db/renderer_webidbdatabase_impl.h"
12 #include "content/renderer/indexed_db/renderer_webidbindex_impl.h"
13 #include "content/renderer/indexed_db/renderer_webidbobjectstore_impl.h"
14 #include "content/renderer/indexed_db/renderer_webidbtransaction_impl.h"
10 #include "content/renderer/render_thread_impl.h" 15 #include "content/renderer/render_thread_impl.h"
11 #include "content/renderer/render_view_impl.h" 16 #include "content/renderer/render_view_impl.h"
12 #include "content/renderer/renderer_webidbcursor_impl.h"
13 #include "content/renderer/renderer_webidbdatabase_impl.h"
14 #include "content/renderer/renderer_webidbindex_impl.h"
15 #include "content/renderer/renderer_webidbobjectstore_impl.h"
16 #include "content/renderer/renderer_webidbtransaction_impl.h"
17 #include "ipc/ipc_channel.h" 17 #include "ipc/ipc_channel.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseCallbac ks.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseCallbac ks.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h " 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h "
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h"
22 22
23 using base::ThreadLocalPointer; 23 using base::ThreadLocalPointer;
24 using WebKit::WebDOMStringList; 24 using WebKit::WebDOMStringList;
25 using WebKit::WebExceptionCode; 25 using WebKit::WebExceptionCode;
26 using WebKit::WebFrame; 26 using WebKit::WebFrame;
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 } 678 }
679 679
680 void IndexedDBDispatcher::ResetCursorPrefetchCaches(int32 exception_cursor_id) { 680 void IndexedDBDispatcher::ResetCursorPrefetchCaches(int32 exception_cursor_id) {
681 typedef std::map<int32, RendererWebIDBCursorImpl*>::iterator Iterator; 681 typedef std::map<int32, RendererWebIDBCursorImpl*>::iterator Iterator;
682 for (Iterator i = cursors_.begin(); i != cursors_.end(); ++i) { 682 for (Iterator i = cursors_.begin(); i != cursors_.end(); ++i) {
683 if (i->first == exception_cursor_id) 683 if (i->first == exception_cursor_id)
684 continue; 684 continue;
685 i->second->ResetPrefetchCache(); 685 i->second->ResetPrefetchCache();
686 } 686 }
687 } 687 }
OLDNEW
« no previous file with comments | « content/renderer/indexed_db/indexed_db_dispatcher.h ('k') | content/renderer/indexed_db/indexed_db_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698