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

Unified Diff: content/renderer/dom_storage/local_storage_namespace.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 | « content/child/storage_util.cc ('k') | content/renderer/dom_storage/local_storage_namespace.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/dom_storage/local_storage_namespace.h
diff --git a/content/renderer/dom_storage/local_storage_namespace.h b/content/renderer/dom_storage/local_storage_namespace.h
index 08045c574810327248808ecb4448b34e8a0a89a7..1c94040fb8601009f1e7915b09f4fbb4ef815b23 100644
--- a/content/renderer/dom_storage/local_storage_namespace.h
+++ b/content/renderer/dom_storage/local_storage_namespace.h
@@ -6,6 +6,7 @@
#define CONTENT_RENDERER_DOM_STORAGE_LOCAL_STORAGE_NAMESPACE_H_
#include "base/macros.h"
+#include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
#include "third_party/WebKit/public/platform/WebStorageNamespace.h"
namespace content {
@@ -20,7 +21,7 @@ class LocalStorageNamespace : public blink::WebStorageNamespace {
// blink::WebStorageNamespace:
blink::WebStorageArea* createStorageArea(
- const blink::WebString& origin) override;
+ const blink::WebSecurityOrigin& origin) override;
bool isSameNamespace(const WebStorageNamespace&) const override;
private:
« no previous file with comments | « content/child/storage_util.cc ('k') | content/renderer/dom_storage/local_storage_namespace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698