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

Side by Side Diff: chrome/browser/in_process_webkit/browser_webkitclient_impl.h

Issue 6209005: Fix IndexedDB race condition during shutdown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: First stab at new approach Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_ 5 #ifndef CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_
6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_ 6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "webkit/glue/webfileutilities_impl.h" 10 #include "webkit/glue/webfileutilities_impl.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual WebKit::WebData loadResource(const char* name); 42 virtual WebKit::WebData loadResource(const char* name);
43 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( 43 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
44 const WebKit::WebString& path, unsigned quota); 44 const WebKit::WebString& path, unsigned quota);
45 virtual void dispatchStorageEvent(const WebKit::WebString& key, 45 virtual void dispatchStorageEvent(const WebKit::WebString& key,
46 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, 46 const WebKit::WebString& oldValue, const WebKit::WebString& newValue,
47 const WebKit::WebString& origin, const WebKit::WebURL& url, 47 const WebKit::WebString& origin, const WebKit::WebURL& url,
48 bool isLocalStorage); 48 bool isLocalStorage);
49 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); 49 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository();
50 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, 50 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name,
51 bool sync_dir); 51 bool sync_dir);
52 virtual void idbShutdown();
53 virtual void createIDBKeysFromSerializedValuesAndKeyPath( 52 virtual void createIDBKeysFromSerializedValuesAndKeyPath(
54 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, 53 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values,
55 const WebKit::WebString& keyPath, 54 const WebKit::WebString& keyPath,
56 WebKit::WebVector<WebKit::WebIDBKey>& keys); 55 WebKit::WebVector<WebKit::WebIDBKey>& keys);
57 56
58 private: 57 private:
59 webkit_glue::WebFileUtilitiesImpl file_utilities_; 58 webkit_glue::WebFileUtilitiesImpl file_utilities_;
60 scoped_refptr<IndexedDBKeyUtilityClient> indexed_db_key_utility_client_; 59 scoped_refptr<IndexedDBKeyUtilityClient> indexed_db_key_utility_client_;
61 }; 60 };
62 61
63 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_ 62 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698