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

Side by Side Diff: content/common/indexed_db/proxy_webidbtransaction_impl.h

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 2 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 | Annotate | Revision Log
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 #ifndef CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBTRANSACTION_IMPL_H_ 5 #ifndef CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBTRANSACTION_IMPL_H_
6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBTRANSACTION_IMPL_H_ 6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBTRANSACTION_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h"
10 10
11 namespace WebKit { 11 namespace WebKit {
12 class WebIDBObjectStore; 12 class WebIDBObjectStore;
13 class WebIDBTransactionCallbacks; 13 class WebIDBTransactionCallbacks;
14 class WebString; 14 class WebString;
15 } 15 }
16 16
17 namespace content {
18
17 class RendererWebIDBTransactionImpl : public WebKit::WebIDBTransaction { 19 class RendererWebIDBTransactionImpl : public WebKit::WebIDBTransaction {
18 public: 20 public:
19 explicit RendererWebIDBTransactionImpl(int32 idb_transaction_id); 21 explicit RendererWebIDBTransactionImpl(int32 idb_transaction_id);
20 virtual ~RendererWebIDBTransactionImpl(); 22 virtual ~RendererWebIDBTransactionImpl();
21 23
22 virtual WebKit::WebIDBObjectStore* objectStore(const WebKit::WebString& name, 24 virtual WebKit::WebIDBObjectStore* objectStore(const WebKit::WebString& name,
23 WebKit::WebExceptionCode&); 25 WebKit::WebExceptionCode&);
24 virtual void commit(); 26 virtual void commit();
25 virtual void abort(); 27 virtual void abort();
26 virtual void didCompleteTaskEvents(); 28 virtual void didCompleteTaskEvents();
27 virtual void setCallbacks(WebKit::WebIDBTransactionCallbacks*); 29 virtual void setCallbacks(WebKit::WebIDBTransactionCallbacks*);
28 30
29 int id() const { return idb_transaction_id_; } 31 int id() const { return idb_transaction_id_; }
30 32
31 private: 33 private:
32 int32 idb_transaction_id_; 34 int32 idb_transaction_id_;
33 }; 35 };
34 36
37 } // namespace content
38
35 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBTRANSACTION_IMPL_H_ 39 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBTRANSACTION_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/indexed_db/proxy_webidbobjectstore_impl.cc ('k') | content/common/indexed_db/proxy_webidbtransaction_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698