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

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

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some (incomplete) work on struct traits. Created 4 years, 5 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/ResponseHandler.h"
6
7 #include "modules/indexeddb/IDBRequest.h"
8
9 namespace blink {
10
11 indexed_db::mojom::blink::Database::GetCallback ResponseHandler::createGetCallba ck(IDBRequest* request)
12 {
13 RefPtr<ResponseHandler> handler(new ResponseHandler(request));
14 return convertToBaseCallback(bind(&ResponseHandler::onGet, handler));
15 }
16
17 indexed_db::mojom::blink::DatabaseFactory::OpenCallback ResponseHandler::createO penCallback(IDBRequest* request)
18 {
19 RefPtr<ResponseHandler> handler(new ResponseHandler(request));
20 return convertToBaseCallback(bind(&ResponseHandler::onOpen, handler));
21 }
22
23 ResponseHandler::ResponseHandler(IDBRequest* request)
24 : m_request(request)
25 {
26 }
27
28 void ResponseHandler::onGet(indexed_db::mojom::blink::GetResultPtr result)
29 {
30 }
31
32 void ResponseHandler::onOpen(indexed_db::mojom::blink::OpenResultPtr result)
33 {
34 }
35
36 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698