Index: third_party/WebKit/public/platform/WebStorageArea.h |
diff --git a/third_party/WebKit/public/platform/WebStorageArea.h b/third_party/WebKit/public/platform/WebStorageArea.h |
index 559ce6c99c3414ce274831e8999d25ef00966dde..45e2def0f49f4f7b68c7d1fd0917de57c8a918d8 100644 |
--- a/third_party/WebKit/public/platform/WebStorageArea.h |
+++ b/third_party/WebKit/public/platform/WebStorageArea.h |
@@ -51,18 +51,18 @@ class WebStorageArea { |
// The number of key/value pairs in the storage area. |
virtual unsigned length() = 0; |
- // Get a value for a specific key. Valid key indices are 0 through length() - 1. |
- // Indexes may change on any set/removeItem call. Will return null if the index |
- // provided is out of range. |
+ // Get a value for a specific key. Valid key indices are 0 through |
+ // length() - 1. Indexes may change on any set/removeItem call. Will return |
+ // null if the index provided is out of range. |
virtual WebString key(unsigned index) = 0; |
- // Get the value that corresponds to a specific key. This returns null if there is |
- // no entry for that key. |
+ // Get the value that corresponds to a specific key. This returns null if |
+ // there is no entry for that key. |
virtual WebString getItem(const WebString& key) = 0; |
- // Set the value that corresponds to a specific key. Result will either be ResultOK |
- // or some particular error. The value is NOT set when there's an error. |pageUrl| is the |
- // url that should be used if a storage event fires. |
+ // Set the value that corresponds to a specific key. Result will either be |
+ // ResultOK or some particular error. The value is NOT set when there's an |
+ // error. |pageUrl| is the url that should be used if a storage event fires. |
virtual void setItem(const WebString& key, |
const WebString& newValue, |
const WebURL& pageUrl, |
@@ -71,20 +71,22 @@ class WebStorageArea { |
setItem(key, newValue, pageUrl, result, unused); |
} |
- // Remove the value associated with a particular key. |pageUrl| is the url that should be used |
- // if a storage event fires. |
+ // Remove the value associated with a particular key. |pageUrl| is the url |
+ // that should be used if a storage event fires. |
virtual void removeItem(const WebString& key, const WebURL& pageUrl) { |
WebString unused; |
removeItem(key, pageUrl, unused); |
} |
- // Clear all key/value pairs. |pageUrl| is the url that should be used if a storage event fires. |
+ // Clear all key/value pairs. |pageUrl| is the url that should be used if a |
+ // storage event fires. |
virtual void clear(const WebURL& pageUrl) { |
bool unused; |
clear(pageUrl, unused); |
} |
- // DEPRECATED - being replaced by the async variants above which do not return oldValues or block until completion. |
+ // DEPRECATED - being replaced by the async variants above which do not return |
+ // oldValues or block until completion. |
virtual void setItem(const WebString& key, |
const WebString& newValue, |
const WebURL&, |