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

Unified Diff: webkit/dom_storage/dom_storage_cached_area.h

Issue 10533093: Implement WebStorageArea::containsItem(key) in chrome and drt/test_shell. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: webkit/dom_storage/dom_storage_cached_area.h
===================================================================
--- webkit/dom_storage/dom_storage_cached_area.h (revision 141450)
+++ webkit/dom_storage/dom_storage_cached_area.h (working copy)
@@ -35,6 +35,7 @@
unsigned GetLength(int connection_id);
NullableString16 GetKey(int connection_id, unsigned index);
NullableString16 GetItem(int connection_id, const string16& key);
+ bool ContainsItem(int connection_id, const string16& key);
bool SetItem(int connection_id, const string16& key, const string16& value,
const GURL& page_url);
void RemoveItem(int connection_id, const string16& key,

Powered by Google App Engine
This is Rietveld 408576698