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

Side by Side Diff: content/common/indexed_db/proxy_webidbfactory_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_WEBIDBFACTORY_IMPL_H_ 5 #ifndef CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBFACTORY_IMPL_H_
6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBFACTORY_IMPL_H_ 6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBFACTORY_IMPL_H_
7 7
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseCallbac ks.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseCallbac ks.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h"
12 12
13 namespace WebKit { 13 namespace WebKit {
14 class WebFrame; 14 class WebFrame;
15 class WebSecurityOrigin; 15 class WebSecurityOrigin;
16 class WebString; 16 class WebString;
17 } 17 }
18 18
19 namespace content {
20
19 class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory { 21 class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory {
20 public: 22 public:
21 RendererWebIDBFactoryImpl(); 23 RendererWebIDBFactoryImpl();
22 virtual ~RendererWebIDBFactoryImpl(); 24 virtual ~RendererWebIDBFactoryImpl();
23 25
24 // See WebIDBFactory.h for documentation on these functions. 26 // See WebIDBFactory.h for documentation on these functions.
25 virtual void getDatabaseNames( 27 virtual void getDatabaseNames(
26 WebKit::WebIDBCallbacks* callbacks, 28 WebKit::WebIDBCallbacks* callbacks,
27 const WebKit::WebSecurityOrigin& origin, 29 const WebKit::WebSecurityOrigin& origin,
28 WebKit::WebFrame* web_frame, 30 WebKit::WebFrame* web_frame,
29 const WebKit::WebString& data_dir); 31 const WebKit::WebString& data_dir);
30 virtual void open( 32 virtual void open(
31 const WebKit::WebString& name, 33 const WebKit::WebString& name,
32 long long version, 34 long long version,
33 WebKit::WebIDBCallbacks* callbacks, 35 WebKit::WebIDBCallbacks* callbacks,
34 WebKit::WebIDBDatabaseCallbacks* databaseCallbacks, 36 WebKit::WebIDBDatabaseCallbacks* databaseCallbacks,
35 const WebKit::WebSecurityOrigin& origin, 37 const WebKit::WebSecurityOrigin& origin,
36 WebKit::WebFrame* web_frame, 38 WebKit::WebFrame* web_frame,
37 const WebKit::WebString& data_dir); 39 const WebKit::WebString& data_dir);
38 virtual void deleteDatabase( 40 virtual void deleteDatabase(
39 const WebKit::WebString& name, 41 const WebKit::WebString& name,
40 WebKit::WebIDBCallbacks* callbacks, 42 WebKit::WebIDBCallbacks* callbacks,
41 const WebKit::WebSecurityOrigin& origin, 43 const WebKit::WebSecurityOrigin& origin,
42 WebKit::WebFrame* web_frame, 44 WebKit::WebFrame* web_frame,
43 const WebKit::WebString& data_dir); 45 const WebKit::WebString& data_dir);
44 }; 46 };
45 47
48 } // namespace content
49
46 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBFACTORY_IMPL_H_ 50 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBFACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/indexed_db/proxy_webidbdatabase_impl.cc ('k') | content/common/indexed_db/proxy_webidbfactory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698