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

Unified Diff: chrome/browser/in_process_webkit/browser_webkitclient_impl.h

Issue 4678002: IndexedDB: Keep the utility process open. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/in_process_webkit/browser_webkitclient_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/in_process_webkit/browser_webkitclient_impl.h
diff --git a/chrome/browser/in_process_webkit/browser_webkitclient_impl.h b/chrome/browser/in_process_webkit/browser_webkitclient_impl.h
index dd291c8ccfb3beb02f02378b665dd72629262507..bc0dd5dc718a3f893416ad2978b0b35fd6b4495d 100644
--- a/chrome/browser/in_process_webkit/browser_webkitclient_impl.h
+++ b/chrome/browser/in_process_webkit/browser_webkitclient_impl.h
@@ -6,12 +6,16 @@
#define CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_
#pragma once
+#include "base/ref_counted.h"
#include "webkit/glue/webfileutilities_impl.h"
#include "webkit/glue/webkitclient_impl.h"
+class IndexedDBKeyUtilityClient;
+
class BrowserWebKitClientImpl : public webkit_glue::WebKitClientImpl {
public:
BrowserWebKitClientImpl();
+ virtual ~BrowserWebKitClientImpl();
// WebKitClient methods:
virtual WebKit::WebClipboard* clipboard();
@@ -45,6 +49,7 @@ class BrowserWebKitClientImpl : public webkit_glue::WebKitClientImpl {
virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository();
virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name,
bool sync_dir);
+ virtual void idbShutdown();
virtual void createIDBKeysFromSerializedValuesAndKeyPath(
const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values,
const WebKit::WebString& keyPath,
@@ -52,6 +57,7 @@ class BrowserWebKitClientImpl : public webkit_glue::WebKitClientImpl {
private:
webkit_glue::WebFileUtilitiesImpl file_utilities_;
+ scoped_refptr<IndexedDBKeyUtilityClient> indexed_db_key_utility_client_;
};
#endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_
« no previous file with comments | « no previous file | chrome/browser/in_process_webkit/browser_webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698