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

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBCursorProxy.cpp

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring after Passing URLRequestContextGetter. Created 4 years, 4 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "modules/indexeddb/IDBCursorProxy.h"
6
7 #include "modules/indexeddb/IDBKey.h"
8 #include "modules/indexeddb/IDBMojoUtil.h"
9
10 namespace blink {
11
12 #if 0
13 IDBCursorProxy* IDBCursorProxy::create(int32_t cursorId)
14 {
15 return new IDBCursorProxy(cursorId);
16 }
17 #endif
18
19 IDBCursorProxy::IDBCursorProxy(int32_t cursorId)
20 : m_cursorId(cursorId)
21 {
22 // TODO(cmumford): Eventually delete member if not needed.
23 (void)m_cursorId;
24 }
25
26 void IDBCursorProxy::Advance(uint32_t count)
27 {
28 m_cursor->Advance(count);
29 }
30
31 void IDBCursorProxy::ContinueFunction(const IDBKey* key, const IDBKey* primaryKe y)
32 {
33 m_cursor->ContinueFunction(createKey(key), createKey(primaryKey));
34 }
35
36 void IDBCursorProxy::PostSuccessHandlerCallback()
37 {
38 m_cursor->PostSuccessHandlerCallback();
39 }
40
41 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698