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

Side by Side Diff: content/browser/in_process_webkit/indexed_db_callbacks.cc

Issue 11567029: Proxy new objectstore/index methods through IPC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix nits, use faster copies Created 7 years, 11 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
1 // Copyright (c) 2012 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/browser/in_process_webkit/indexed_db_callbacks.h" 5 #include "content/browser/in_process_webkit/indexed_db_callbacks.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "content/common/indexed_db/indexed_db_messages.h" 9 #include "content/common/indexed_db/indexed_db_messages.h"
10 #include "webkit/quota/quota_manager.h" 10 #include "webkit/quota/quota_manager.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 ipc_response_id(), 199 ipc_response_id(),
200 value)); 200 value));
201 } 201 }
202 202
203 void IndexedDBCallbacks<WebKit::WebSerializedScriptValue>::onSuccess() { 203 void IndexedDBCallbacks<WebKit::WebSerializedScriptValue>::onSuccess() {
204 dispatcher_host()->Send( 204 dispatcher_host()->Send(
205 new IndexedDBMsg_CallbacksSuccessUndefined(ipc_thread_id(), 205 new IndexedDBMsg_CallbacksSuccessUndefined(ipc_thread_id(),
206 ipc_response_id())); 206 ipc_response_id()));
207 } 207 }
208 208
209 void IndexedDBCallbacks<WebKit::WebSerializedScriptValue>::onSuccess(
210 const WebKit::WebIDBKey& value) {
211 dispatcher_host()->Send(
212 new IndexedDBMsg_CallbacksSuccessIndexedDBKey(
213 ipc_thread_id(), ipc_response_id(), IndexedDBKey(value)));
214 }
215
209 } // namespace content 216 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698