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

Side by Side Diff: content/renderer/indexed_db/renderer_webidbindex_impl.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: 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/renderer_webidbindex_impl.h" 5 #include "content/renderer/indexed_db/renderer_webidbindex_impl.h"
6 6
7 #include "content/common/indexed_db_messages.h" 7 #include "content/common/indexed_db/indexed_db_messages.h"
8 #include "content/renderer/indexed_db_dispatcher.h" 8 #include "content/renderer/indexed_db/indexed_db_dispatcher.h"
9 #include "content/renderer/render_thread_impl.h" 9 #include "content/renderer/render_thread_impl.h"
10 #include "content/renderer/renderer_webidbtransaction_impl.h" 10 #include "content/renderer/indexed_db/renderer_webidbtransaction_impl.h"
jsbell 2011/12/16 23:47:57 Nit: includes out of order
11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h"
13 13
14 using WebKit::WebExceptionCode; 14 using WebKit::WebExceptionCode;
15 using WebKit::WebDOMStringList; 15 using WebKit::WebDOMStringList;
16 using WebKit::WebString; 16 using WebKit::WebString;
17 using WebKit::WebVector; 17 using WebKit::WebVector;
18 18
19 RendererWebIDBIndexImpl::RendererWebIDBIndexImpl(int32 idb_index_id) 19 RendererWebIDBIndexImpl::RendererWebIDBIndexImpl(int32 idb_index_id)
20 : idb_index_id_(idb_index_id) { 20 : idb_index_id_(idb_index_id) {
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void RendererWebIDBIndexImpl::getKey( 106 void RendererWebIDBIndexImpl::getKey(
107 const WebKit::WebIDBKey& key, 107 const WebKit::WebIDBKey& key,
108 WebKit::WebIDBCallbacks* callbacks, 108 WebKit::WebIDBCallbacks* callbacks,
109 const WebKit::WebIDBTransaction& transaction, 109 const WebKit::WebIDBTransaction& transaction,
110 WebExceptionCode& ec) { 110 WebExceptionCode& ec) {
111 IndexedDBDispatcher* dispatcher = 111 IndexedDBDispatcher* dispatcher =
112 IndexedDBDispatcher::ThreadSpecificInstance(); 112 IndexedDBDispatcher::ThreadSpecificInstance();
113 dispatcher->RequestIDBIndexGetKey( 113 dispatcher->RequestIDBIndexGetKey(
114 IndexedDBKey(key), callbacks, idb_index_id_, transaction, &ec); 114 IndexedDBKey(key), callbacks, idb_index_id_, transaction, &ec);
115 } 115 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698