Changeset 54191
- Timestamp:
- 02/01/10 18:43:01 (5 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
public/WebStorageArea.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r54152 r54191 37 37 (WebKit::isASingleWord): Use wordBreakIterator(), and correctly check 38 38 the return value of textBreakNext(). 39 40 2010-01-29 Jeremy Orlow <jorlow@chromium.org> 41 42 Reviewed by Eric Seidel. 43 44 [Chromium] Clean up WebStorageArea 45 https://bugs.webkit.org/show_bug.cgi?id=34353 46 47 Get rid of legacy glue code and fix a typo. 48 49 * public/WebStorageArea.h: 39 50 40 51 2010-01-29 Jeremy Orlow <jorlow@chromium.org> -
trunk/WebKit/chromium/public/WebStorageArea.h
r53710 r54191 58 58 virtual WebString getItem(const WebString& key) = 0; 59 59 60 // Set the value that corresponds to a specific key. QuotaException is set if we've60 // Set the value that corresponds to a specific key. QuotaException is set if 61 61 // the StorageArea would have exceeded its quota. The value is NOT set when there's 62 62 // an exception. url is the url that should be used if a storage event fires. 63 // FIXME: The following is a hack to keep Chromium compiling until the other half is landed. Remove soon. 64 virtual void setItem(const WebString& key, const WebString& newValue, const WebURL& url, bool& quotaException) // Deprecated. 65 { 66 WebString oldValue; 67 setItem(key, newValue, url, quotaException, oldValue); 68 } 69 virtual void setItem(const WebString& key, const WebString& newValue, const WebURL& url, bool& quotaException, WebString& oldValue) 70 { 71 setItem(key, newValue, url, quotaException); 72 } 63 virtual void setItem(const WebString& key, const WebString& newValue, const WebURL& url, bool& quotaException, WebString& oldValue) = 0; 73 64 74 65 // Remove the value associated with a particular key. url is the url that should be used 75 66 // if a storage event fires. 76 // FIXME: The following is a hack to keep Chromium compiling until the other half is landed. Remove soon. 77 virtual void removeItem(const WebString& key, const WebURL& url) // Deprecated. 78 { 79 WebString oldValue; 80 removeItem(key, url, oldValue); 81 } 82 virtual void removeItem(const WebString& key, const WebURL& url, WebString& oldValue) 83 { 84 removeItem(key, url); 85 } 67 virtual void removeItem(const WebString& key, const WebURL& url, WebString& oldValue) = 0; 86 68 87 69 // Clear all key/value pairs. url is the url that should be used if a storage event fires. 88 // FIXME: The following is a hack to keep Chromium compiling until the other half is landed. Remove soon. 89 virtual void clear(const WebURL& url) // Deprecated. 90 { 91 bool somethingCleared; 92 clear(url, somethingCleared); 93 } 94 virtual void clear(const WebURL& url, bool& somethingCleared) 95 { 96 clear(url); 97 } 70 virtual void clear(const WebURL& url, bool& somethingCleared) = 0; 98 71 }; 99 72
Note: See TracChangeset
for help on using the changeset viewer.