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

Side by Side Diff: content/renderer/renderer_webidbfactory_impl.h

Issue 7889024: Implementation of IDBFactory::getDatabaseNames (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Remove unnecessary #includes Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.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/WebVector.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h"
12 12
13 namespace WebKit { 13 namespace WebKit {
14 class WebDOMStringList; 14 class WebDOMStringList;
15 class WebFrame; 15 class WebFrame;
16 class WebIDBDatabase; 16 class WebIDBDatabase;
17 class WebSecurityOrigin; 17 class WebSecurityOrigin;
18 class WebString; 18 class WebString;
19 } 19 }
20 20
21 class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory { 21 class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory {
22 public: 22 public:
23 RendererWebIDBFactoryImpl(); 23 RendererWebIDBFactoryImpl();
24 virtual ~RendererWebIDBFactoryImpl(); 24 virtual ~RendererWebIDBFactoryImpl();
25 25
26 // See WebIDBFactory.h for documentation on these functions. 26 // See WebIDBFactory.h for documentation on these functions.
27 virtual void getDatabaseNames(
28 WebKit::WebIDBCallbacks* callbacks,
29 const WebKit::WebSecurityOrigin& origin,
30 WebKit::WebFrame* web_frame,
31 const WebKit::WebString& data_dir,
32 // TODO(dgrogan): Remove maximum_size after it's out of the webkit api.
33 unsigned long long maximum_size,
34 WebKit::WebIDBFactory::BackingStoreType);
35
27 virtual void open( 36 virtual void open(
28 const WebKit::WebString& name, 37 const WebKit::WebString& name,
29 WebKit::WebIDBCallbacks* callbacks, 38 WebKit::WebIDBCallbacks* callbacks,
30 const WebKit::WebSecurityOrigin& origin, 39 const WebKit::WebSecurityOrigin& origin,
31 WebKit::WebFrame* web_frame, 40 WebKit::WebFrame* web_frame,
32 const WebKit::WebString& data_dir, 41 const WebKit::WebString& data_dir,
33 // TODO(dgrogan): Remove maximum_size after it's out of the webkit api. 42 // TODO(dgrogan): Remove maximum_size after it's out of the webkit api.
34 unsigned long long maximum_size, 43 unsigned long long maximum_size,
35 WebKit::WebIDBFactory::BackingStoreType); 44 WebKit::WebIDBFactory::BackingStoreType);
36 // FIXME(jochen): remove after webkit roll. 45 // FIXME(jochen): remove after webkit roll.
37 virtual void deleteDatabase( 46 virtual void deleteDatabase(
38 const WebKit::WebString& name, 47 const WebKit::WebString& name,
39 WebKit::WebIDBCallbacks* callbacks, 48 WebKit::WebIDBCallbacks* callbacks,
40 const WebKit::WebSecurityOrigin& origin, 49 const WebKit::WebSecurityOrigin& origin,
41 WebKit::WebFrame* web_frame, 50 WebKit::WebFrame* web_frame,
42 const WebKit::WebString& data_dir); 51 const WebKit::WebString& data_dir);
43 virtual void deleteDatabase( 52 virtual void deleteDatabase(
44 const WebKit::WebString& name, 53 const WebKit::WebString& name,
45 WebKit::WebIDBCallbacks* callbacks, 54 WebKit::WebIDBCallbacks* callbacks,
46 const WebKit::WebSecurityOrigin& origin, 55 const WebKit::WebSecurityOrigin& origin,
47 WebKit::WebFrame* web_frame, 56 WebKit::WebFrame* web_frame,
48 const WebKit::WebString& data_dir, 57 const WebKit::WebString& data_dir,
49 WebKit::WebIDBFactory::BackingStoreType); 58 WebKit::WebIDBFactory::BackingStoreType);
50 }; 59 };
51 60
52 #endif // CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_ 61 #endif // CONTENT_RENDERER_RENDERER_WEBIDBFACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/indexed_db_dispatcher.cc ('k') | content/renderer/renderer_webidbfactory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698