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

Side by Side Diff: content/common/indexed_db/proxy_webidbdatabase_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, 1 month 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_WEBIDBDATABASE_IMPL_H_ 5 #ifndef CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_
6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ 6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h"
10 10
11 namespace WebKit { 11 namespace WebKit {
12 class WebIDBCallbacks; 12 class WebIDBCallbacks;
13 class WebIDBDatabaseCallbacks; 13 class WebIDBDatabaseCallbacks;
14 class WebString; 14 class WebString;
15 class WebIDBTransaction; 15 class WebIDBTransaction;
16 } 16 }
17 17
18 namespace content {
19
18 class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase { 20 class RendererWebIDBDatabaseImpl : public WebKit::WebIDBDatabase {
19 public: 21 public:
20 explicit RendererWebIDBDatabaseImpl(int32 idb_database_id); 22 explicit RendererWebIDBDatabaseImpl(int32 idb_database_id);
21 virtual ~RendererWebIDBDatabaseImpl(); 23 virtual ~RendererWebIDBDatabaseImpl();
22 24
23 // TODO(alecflett): Remove this when it is removed from webkit: 25 // TODO(alecflett): Remove this when it is removed from webkit:
24 // https://bugs.webkit.org/show_bug.cgi?id=98085 26 // https://bugs.webkit.org/show_bug.cgi?id=98085
25 static const long long AutogenerateObjectStoreId = -1; 27 static const long long AutogenerateObjectStoreId = -1;
26 28
27 // WebKit::WebIDBDatabase 29 // WebKit::WebIDBDatabase
(...skipping 15 matching lines...) Expand all
43 virtual WebKit::WebIDBTransaction* transaction( 45 virtual WebKit::WebIDBTransaction* transaction(
44 const WebKit::WebDOMStringList& names, 46 const WebKit::WebDOMStringList& names,
45 unsigned short mode, 47 unsigned short mode,
46 WebKit::WebExceptionCode& ec); 48 WebKit::WebExceptionCode& ec);
47 virtual void close(); 49 virtual void close();
48 50
49 private: 51 private:
50 int32 idb_database_id_; 52 int32 idb_database_id_;
51 }; 53 };
52 54
55 } // namespace content
56
53 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_ 57 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBDATABASE_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/indexed_db/proxy_webidbcursor_impl.cc ('k') | content/common/indexed_db/proxy_webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698