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

Side by Side Diff: chrome/renderer/renderer_webidbtransaction_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
« no previous file with comments | « chrome/renderer/renderer_webidbtransaction_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/renderer/renderer_webidbtransaction_impl.h"
6
7 #include "chrome/common/render_messages.h"
8 #include "chrome/renderer/render_thread.h"
9 #include "chrome/renderer/indexed_db_dispatcher.h"
10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBObjectStore.h"
11 #include "third_party/WebKit/WebKit/chromium/public/WebIDBTransactionCallbacks.h "
12 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
13
14 using WebKit::WebIDBObjectStore;
15 using WebKit::WebIDBTransactionCallbacks;
16 using WebKit::WebString;
17
18 RendererWebIDBTransactionImpl::RendererWebIDBTransactionImpl(
19 int32 idb_transaction_id)
20 : idb_transaction_id_(idb_transaction_id) {
21 }
22
23 RendererWebIDBTransactionImpl::~RendererWebIDBTransactionImpl() {
24 RenderThread::current()->Send(new ViewHostMsg_IDBTransactionDestroyed(
25 idb_transaction_id_));
26 }
27
28 int RendererWebIDBTransactionImpl::mode() const
29 {
30 // TODO: implement
31 DCHECK(false);
32 return 0;
33 }
34
35 WebIDBObjectStore* RendererWebIDBTransactionImpl::objectStore(
36 const WebString& name)
37 {
38 // TODO: implement
39 DCHECK(false);
40 return 0;
41 }
42
43 void RendererWebIDBTransactionImpl::abort()
44 {
45 // TODO: implement
46 DCHECK(false);
47 }
48
49 int RendererWebIDBTransactionImpl::id() const
50 {
51 return idb_transaction_id_;
52 }
53
54 void RendererWebIDBTransactionImpl::setCallbacks(
55 WebIDBTransactionCallbacks* callbacks)
56 {
57 IndexedDBDispatcher* dispatcher =
58 RenderThread::current()->indexed_db_dispatcher();
59 dispatcher->RequestIDBTransactionSetCallbacks(callbacks);
60 }
OLDNEW
« no previous file with comments | « chrome/renderer/renderer_webidbtransaction_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698