Chromium Code Reviews| OLD | NEW |
|---|---|
| 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/Platform/chromium/public/WebVector.h" | 8 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" |
| 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/WebIDBDatabaseCallbac ks.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseCallbac ks.h" |
| 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" |
| 12 | 12 |
| 13 namespace WebKit { | 13 namespace WebKit { |
| 14 class WebFrame; | 14 class WebFrame; |
| 15 class WebSecurityOrigin; | |
| 16 class WebString; | 15 class WebString; |
| 17 } | 16 } |
| 18 | 17 |
| 19 namespace content { | 18 namespace content { |
| 20 | 19 |
| 21 class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory { | 20 class RendererWebIDBFactoryImpl : public WebKit::WebIDBFactory { |
| 22 public: | 21 public: |
| 23 RendererWebIDBFactoryImpl(); | 22 RendererWebIDBFactoryImpl(); |
| 24 virtual ~RendererWebIDBFactoryImpl(); | 23 virtual ~RendererWebIDBFactoryImpl(); |
| 25 | 24 |
| 26 // See WebIDBFactory.h for documentation on these functions. | 25 // See WebIDBFactory.h for documentation on these functions. |
| 27 virtual void getDatabaseNames( | 26 virtual void getDatabaseNames( |
| 28 WebKit::WebIDBCallbacks* callbacks, | 27 WebKit::WebIDBCallbacks* callbacks, |
| 29 const WebKit::WebSecurityOrigin& origin, | 28 const WebKit::WebString& databaseIdentifier, |
|
darin (slow to review)
2013/04/24 05:42:55
nit: database_identifier
| |
| 30 WebKit::WebFrame* web_frame, | |
| 31 const WebKit::WebString& data_dir); | 29 const WebKit::WebString& data_dir); |
| 32 virtual void open( | 30 virtual void open( |
| 33 const WebKit::WebString& name, | 31 const WebKit::WebString& name, |
| 34 long long version, | 32 long long version, |
| 35 long long transaction_id, | 33 long long transaction_id, |
| 36 WebKit::WebIDBCallbacks* callbacks, | 34 WebKit::WebIDBCallbacks* callbacks, |
| 37 WebKit::WebIDBDatabaseCallbacks* databaseCallbacks, | 35 WebKit::WebIDBDatabaseCallbacks* databaseCallbacks, |
| 38 const WebKit::WebSecurityOrigin& origin, | 36 const WebKit::WebString& databaseIdentifier, |
| 39 WebKit::WebFrame* web_frame, | |
| 40 const WebKit::WebString& data_dir); | 37 const WebKit::WebString& data_dir); |
| 41 virtual void deleteDatabase( | 38 virtual void deleteDatabase( |
| 42 const WebKit::WebString& name, | 39 const WebKit::WebString& name, |
| 43 WebKit::WebIDBCallbacks* callbacks, | 40 WebKit::WebIDBCallbacks* callbacks, |
| 44 const WebKit::WebSecurityOrigin& origin, | 41 const WebKit::WebString& databaseIdentifier, |
| 45 WebKit::WebFrame* web_frame, | |
| 46 const WebKit::WebString& data_dir); | 42 const WebKit::WebString& data_dir); |
| 47 }; | 43 }; |
| 48 | 44 |
| 49 } // namespace content | 45 } // namespace content |
| 50 | 46 |
| 51 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBFACTORY_IMPL_H_ | 47 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBFACTORY_IMPL_H_ |
| OLD | NEW |