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

Side by Side Diff: content/child/indexed_db/webidbfactory_impl.h

Issue 2642943002: Allow closing IndexedDB database before deleting (Closed)
Patch Set: Fixed compilation errors in tests Created 3 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHILD_INDEXED_DB_WEBIDBFACTORY_IMPL_H_ 5 #ifndef CONTENT_CHILD_INDEXED_DB_WEBIDBFACTORY_IMPL_H_
6 #define CONTENT_CHILD_INDEXED_DB_WEBIDBFACTORY_IMPL_H_ 6 #define CONTENT_CHILD_INDEXED_DB_WEBIDBFACTORY_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "content/common/indexed_db/indexed_db.mojom.h" 9 #include "content/common/indexed_db/indexed_db.mojom.h"
10 #include "third_party/WebKit/public/platform/WebVector.h" 10 #include "third_party/WebKit/public/platform/WebVector.h"
(...skipping 22 matching lines...) Expand all
33 void getDatabaseNames(blink::WebIDBCallbacks* callbacks, 33 void getDatabaseNames(blink::WebIDBCallbacks* callbacks,
34 const blink::WebSecurityOrigin& origin) override; 34 const blink::WebSecurityOrigin& origin) override;
35 void open(const blink::WebString& name, 35 void open(const blink::WebString& name,
36 long long version, 36 long long version,
37 long long transaction_id, 37 long long transaction_id,
38 blink::WebIDBCallbacks* callbacks, 38 blink::WebIDBCallbacks* callbacks,
39 blink::WebIDBDatabaseCallbacks* databaseCallbacks, 39 blink::WebIDBDatabaseCallbacks* databaseCallbacks,
40 const blink::WebSecurityOrigin& origin) override; 40 const blink::WebSecurityOrigin& origin) override;
41 void deleteDatabase(const blink::WebString& name, 41 void deleteDatabase(const blink::WebString& name,
42 blink::WebIDBCallbacks* callbacks, 42 blink::WebIDBCallbacks* callbacks,
43 const blink::WebSecurityOrigin& origin) override; 43 const blink::WebSecurityOrigin& origin,
44 bool) override;
cmumford 2017/01/19 20:47:16 Only omit parameter name when it's purpose is obvi
eostroukhov 2017/01/20 18:43:18 Added a parameter name.
44 45
45 private: 46 private:
46 class IOThreadHelper; 47 class IOThreadHelper;
47 48
48 IOThreadHelper* io_helper_; 49 IOThreadHelper* io_helper_;
49 scoped_refptr<base::SingleThreadTaskRunner> io_runner_; 50 scoped_refptr<base::SingleThreadTaskRunner> io_runner_;
50 }; 51 };
51 52
52 } // namespace content 53 } // namespace content
53 54
54 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBFACTORY_IMPL_H_ 55 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBFACTORY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698