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

Side by Side Diff: content/common/indexed_db/proxy_webidbcursor_impl.cc

Issue 9368053: Move indexed db files from content/renderer to content/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unneccesary include Created 8 years, 10 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/renderer_webidbcursor_impl.h" 5 #include "content/common/indexed_db/proxy_webidbcursor_impl.h"
6 6
7 #include "content/common/child_thread.h"
7 #include "content/common/indexed_db/indexed_db_messages.h" 8 #include "content/common/indexed_db/indexed_db_messages.h"
8 #include "content/renderer/indexed_db/indexed_db_dispatcher.h" 9 #include "content/common/indexed_db/indexed_db_dispatcher.h"
9 #include "content/renderer/render_thread_impl.h"
10 10
11 using WebKit::WebExceptionCode; 11 using WebKit::WebExceptionCode;
12 using WebKit::WebIDBCallbacks; 12 using WebKit::WebIDBCallbacks;
13 using WebKit::WebIDBKey; 13 using WebKit::WebIDBKey;
14 using WebKit::WebSerializedScriptValue; 14 using WebKit::WebSerializedScriptValue;
15 15
16 RendererWebIDBCursorImpl::RendererWebIDBCursorImpl(int32 idb_cursor_id) 16 RendererWebIDBCursorImpl::RendererWebIDBCursorImpl(int32 idb_cursor_id)
17 : idb_cursor_id_(idb_cursor_id), 17 : idb_cursor_id_(idb_cursor_id),
18 continue_count_(0), 18 continue_count_(0),
19 used_prefetches_(0), 19 used_prefetches_(0),
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 IndexedDBDispatcher::ThreadSpecificInstance(); 172 IndexedDBDispatcher::ThreadSpecificInstance();
173 dispatcher->RequestIDBCursorPrefetchReset(used_prefetches_, 173 dispatcher->RequestIDBCursorPrefetchReset(used_prefetches_,
174 prefetch_keys_.size(), 174 prefetch_keys_.size(),
175 idb_cursor_id_); 175 idb_cursor_id_);
176 prefetch_keys_.clear(); 176 prefetch_keys_.clear();
177 prefetch_primary_keys_.clear(); 177 prefetch_primary_keys_.clear();
178 prefetch_values_.clear(); 178 prefetch_values_.clear();
179 179
180 pending_onsuccess_callbacks_ = 0; 180 pending_onsuccess_callbacks_ = 0;
181 } 181 }
OLDNEW
« no previous file with comments | « content/common/indexed_db/proxy_webidbcursor_impl.h ('k') | content/common/indexed_db/proxy_webidbdatabase_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698