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

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: Addressing Jeremy's comments 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
« no previous file with comments | « no previous file | chrome/browser/in_process_webkit/browser_webkitclient_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
10 #include "webkit/glue/webfileutilities_impl.h" 9 #include "webkit/glue/webfileutilities_impl.h"
11 #include "webkit/glue/webkitclient_impl.h" 10 #include "webkit/glue/webkitclient_impl.h"
12 11
13 class IndexedDBKeyUtilityClient; 12 class IndexedDBKeyUtilityClient;
14 13
15 class BrowserWebKitClientImpl : public webkit_glue::WebKitClientImpl { 14 class BrowserWebKitClientImpl : public webkit_glue::WebKitClientImpl {
16 public: 15 public:
17 BrowserWebKitClientImpl(); 16 BrowserWebKitClientImpl();
18 virtual ~BrowserWebKitClientImpl(); 17 virtual ~BrowserWebKitClientImpl();
19 18
(...skipping 22 matching lines...) Expand all
42 virtual WebKit::WebData loadResource(const char* name); 41 virtual WebKit::WebData loadResource(const char* name);
43 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( 42 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(
44 const WebKit::WebString& path, unsigned quota); 43 const WebKit::WebString& path, unsigned quota);
45 virtual void dispatchStorageEvent(const WebKit::WebString& key, 44 virtual void dispatchStorageEvent(const WebKit::WebString& key,
46 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, 45 const WebKit::WebString& oldValue, const WebKit::WebString& newValue,
47 const WebKit::WebString& origin, const WebKit::WebURL& url, 46 const WebKit::WebString& origin, const WebKit::WebURL& url,
48 bool isLocalStorage); 47 bool isLocalStorage);
49 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); 48 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository();
50 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, 49 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name,
51 bool sync_dir); 50 bool sync_dir);
52 virtual void idbShutdown();
53 virtual void createIDBKeysFromSerializedValuesAndKeyPath( 51 virtual void createIDBKeysFromSerializedValuesAndKeyPath(
54 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, 52 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values,
55 const WebKit::WebString& keyPath, 53 const WebKit::WebString& keyPath,
56 WebKit::WebVector<WebKit::WebIDBKey>& keys); 54 WebKit::WebVector<WebKit::WebIDBKey>& keys);
57 55
58 private: 56 private:
59 webkit_glue::WebFileUtilitiesImpl file_utilities_; 57 webkit_glue::WebFileUtilitiesImpl file_utilities_;
60 scoped_refptr<IndexedDBKeyUtilityClient> indexed_db_key_utility_client_;
61 }; 58 };
62 59
63 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_ 60 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_
OLDNEW
« 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