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

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

Issue 2611843004: Implement throttling behavior for LocalStorage mojo messages.
Patch Set: 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 module content.mojom; 5 module content.mojom;
6 6
7 import "components/leveldb/public/interfaces/leveldb.mojom"; 7 import "components/leveldb/public/interfaces/leveldb.mojom";
8 8
9 // Gives information about changes to a LevelDB database. 9 // Gives information about changes to a LevelDB database.
10 // Note that observer methods are called before the callbacks for the 10 // Note that observer methods are called before the callbacks for the
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // Removes all the entries. 48 // Removes all the entries.
49 DeleteAll(string source) => (bool success); 49 DeleteAll(string source) => (bool success);
50 50
51 // Returns the value of the |key|. 51 // Returns the value of the |key|.
52 Get(array<uint8> key) => (bool success, array<uint8> value); 52 Get(array<uint8> key) => (bool success, array<uint8> value);
53 53
54 // Only used with small databases. Returns all key/value pairs. 54 // Only used with small databases. Returns all key/value pairs.
55 [Sync] 55 [Sync]
56 GetAll(associated LevelDBWrapperGetAllCallback complete_callback) 56 GetAll(associated LevelDBWrapperGetAllCallback complete_callback)
57 => (leveldb.mojom.DatabaseError status, array<KeyValue> data); 57 => (leveldb.mojom.DatabaseError status, array<KeyValue> data);
58
59 [Sync] FlushPipe() => ();
58 }; 60 };
OLDNEW
« no previous file with comments | « content/browser/leveldb_wrapper_impl.cc ('k') | content/renderer/dom_storage/local_storage_cached_area.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698