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

Side by Side Diff: content/common/indexed_db/indexed_db.mojom

Issue 2642943002: Allow closing IndexedDB database before deleting (Closed)
Patch Set: Allow closing IndexedDB database before deleting 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 // TODO: This will move to //third_party/WebKit when //content/child/indexed_db 5 // TODO: This will move to //third_party/WebKit when //content/child/indexed_db
6 // is deleted but for now this will depend on //content/common types and so 6 // is deleted but for now this will depend on //content/common types and so
7 // so belongs here. 7 // so belongs here.
8 8
9 module indexed_db.mojom; 9 module indexed_db.mojom;
10 10
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 Commit(int64 transaction_id); 322 Commit(int64 transaction_id);
323 AckReceivedBlobs(array<string> uuids); 323 AckReceivedBlobs(array<string> uuids);
324 }; 324 };
325 325
326 interface Factory { 326 interface Factory {
327 GetDatabaseNames(associated Callbacks callbacks, url.mojom.Origin origin); 327 GetDatabaseNames(associated Callbacks callbacks, url.mojom.Origin origin);
328 Open(associated Callbacks callbacks, 328 Open(associated Callbacks callbacks,
329 associated DatabaseCallbacks database_callbacks, url.mojom.Origin origin, 329 associated DatabaseCallbacks database_callbacks, url.mojom.Origin origin,
330 mojo.common.mojom.String16 name, int64 version, int64 transaction_id); 330 mojo.common.mojom.String16 name, int64 version, int64 transaction_id);
331 DeleteDatabase(associated Callbacks callbacks, url.mojom.Origin origin, 331 DeleteDatabase(associated Callbacks callbacks, url.mojom.Origin origin,
332 mojo.common.mojom.String16 name); 332 mojo.common.mojom.String16 name, bool force_close);
333 }; 333 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698