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

Unified Diff: third_party/WebKit/public/platform/WebStorageNamespace.h

Issue 2382973002: Convert WebSecurityOrigin -> GURL without re-parsing the url (Closed)
Patch Set: rebase on #427122 Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/modules/storage/StorageNamespace.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebStorageNamespace.h
diff --git a/third_party/WebKit/public/platform/WebStorageNamespace.h b/third_party/WebKit/public/platform/WebStorageNamespace.h
index 85018d2f9422658e30fe408033392d0cdfd2d12f..4d6e60117c7f101cca1fbce685fb9c52ca8df554 100644
--- a/third_party/WebKit/public/platform/WebStorageNamespace.h
+++ b/third_party/WebKit/public/platform/WebStorageNamespace.h
@@ -36,7 +36,7 @@
namespace blink {
class WebStorageArea;
-class WebString;
+class WebSecurityOrigin;
// WebStorageNamespace represents a collection of StorageAreas. Typically,
// you'll have multiple StorageNamespaces to represent the SessionStorage for
@@ -50,7 +50,7 @@ class WebStorageNamespace {
// origin will return two different WebStorageArea objects that share the same
// backing store. You should call delete on the returned object when you're
// finished.
- virtual WebStorageArea* createStorageArea(const WebString& origin) = 0;
+ virtual WebStorageArea* createStorageArea(const WebSecurityOrigin&) = 0;
// Returns true of the two instances represent the same storage namespace.
virtual bool isSameNamespace(const WebStorageNamespace&) const {
« no previous file with comments | « third_party/WebKit/Source/modules/storage/StorageNamespace.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698