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

Side by Side Diff: chrome/renderer/indexed_db_dispatcher.cc

Issue 3106018: Reapplies all the IPC system work (reverts the revert r56272). (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 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
« no previous file with comments | « chrome/renderer/blocked_plugin.cc ('k') | chrome/renderer/pepper_devices.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/renderer/indexed_db_dispatcher.h" 5 #include "chrome/renderer/indexed_db_dispatcher.h"
6 6
7 #include "chrome/common/indexed_db_key.h"
7 #include "chrome/common/render_messages.h" 8 #include "chrome/common/render_messages.h"
8 #include "chrome/common/serialized_script_value.h" 9 #include "chrome/common/serialized_script_value.h"
9 #include "chrome/renderer/render_thread.h" 10 #include "chrome/renderer/render_thread.h"
10 #include "chrome/renderer/render_view.h" 11 #include "chrome/renderer/render_view.h"
11 #include "chrome/renderer/renderer_webidbcursor_impl.h" 12 #include "chrome/renderer/renderer_webidbcursor_impl.h"
12 #include "chrome/renderer/renderer_webidbdatabase_impl.h" 13 #include "chrome/renderer/renderer_webidbdatabase_impl.h"
13 #include "chrome/renderer/renderer_webidbindex_impl.h" 14 #include "chrome/renderer/renderer_webidbindex_impl.h"
14 #include "chrome/renderer/renderer_webidbobjectstore_impl.h" 15 #include "chrome/renderer/renderer_webidbobjectstore_impl.h"
15 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" 16 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h"
16 #include "third_party/WebKit/WebKit/chromium/public/WebIDBDatabaseError.h" 17 #include "third_party/WebKit/WebKit/chromium/public/WebIDBDatabaseError.h"
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 callbacks->onSuccess(new RendererWebIDBCursorImpl(object_id)); 225 callbacks->onSuccess(new RendererWebIDBCursorImpl(object_id));
225 pending_callbacks_.Remove(repsonse_id); 226 pending_callbacks_.Remove(repsonse_id);
226 } 227 }
227 228
228 void IndexedDBDispatcher::OnError(int32 response_id, int code, 229 void IndexedDBDispatcher::OnError(int32 response_id, int code,
229 const string16& message) { 230 const string16& message) {
230 WebKit::WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(response_id); 231 WebKit::WebIDBCallbacks* callbacks = pending_callbacks_.Lookup(response_id);
231 callbacks->onError(WebIDBDatabaseError(code, message)); 232 callbacks->onError(WebIDBDatabaseError(code, message));
232 pending_callbacks_.Remove(response_id); 233 pending_callbacks_.Remove(response_id);
233 } 234 }
OLDNEW
« no previous file with comments | « chrome/renderer/blocked_plugin.cc ('k') | chrome/renderer/pepper_devices.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698