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

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

Issue 3163028: Fix compilation errors of 56862 (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix include path (again) 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/renderer_webidbfactory_impl.h" 5 #include "chrome/renderer/renderer_webidbfactory_impl.h"
6 6
7 #include "chrome/common/render_messages.h" 7 #include "chrome/common/render_messages.h"
8 #include "chrome/renderer/render_thread.h" 8 #include "chrome/renderer/render_thread.h"
9 #include "chrome/renderer/indexed_db_dispatcher.h" 9 #include "chrome/renderer/indexed_db_dispatcher.h"
10 #include "third_party/WebKit/WebKit/chromium/public/WebDOMStringList.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebDOMStringList.h"
(...skipping 14 matching lines...) Expand all
25 25
26 void RendererWebIDBFactoryImpl::open( 26 void RendererWebIDBFactoryImpl::open(
27 const WebString& name, const WebString& description, 27 const WebString& name, const WebString& description,
28 WebIDBCallbacks* callbacks, const WebSecurityOrigin& origin, 28 WebIDBCallbacks* callbacks, const WebSecurityOrigin& origin,
29 WebFrame* web_frame) { 29 WebFrame* web_frame) {
30 IndexedDBDispatcher* dispatcher = 30 IndexedDBDispatcher* dispatcher =
31 RenderThread::current()->indexed_db_dispatcher(); 31 RenderThread::current()->indexed_db_dispatcher();
32 dispatcher->RequestIDBFactoryOpen( 32 dispatcher->RequestIDBFactoryOpen(
33 name, description, callbacks, origin.databaseIdentifier(), web_frame); 33 name, description, callbacks, origin.databaseIdentifier(), web_frame);
34 } 34 }
35
36 void RendererWebIDBFactoryImpl::abortPendingTransactions(
37 const WebKit::WebVector<int>& pendingIDs) {
38 std::vector<int> ids;
39 for (size_t i = 0; i < pendingIDs.size(); ++i) {
40 ids.push_back(pendingIDs[i]);
41 }
42 RenderThread::current()->Send(
43 new ViewHostMsg_IDBFactoryAbortPendingTransactions(ids));
44 }
OLDNEW
« no previous file with comments | « chrome/renderer/renderer_webidbfactory_impl.h ('k') | chrome/renderer/renderer_webidbtransaction_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698