Chromium Code Reviews

Unified Diff: webkit/glue/glue_util.cc

Issue 211013: Introduce WebKit::WebSecurityOrigin as a wrapper around... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « webkit/glue/glue_util.h ('k') | webkit/glue/webframe_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/glue_util.cc
===================================================================
--- webkit/glue/glue_util.cc (revision 26545)
+++ webkit/glue/glue_util.cc (working copy)
@@ -26,6 +26,7 @@
#include "PlatformString.h"
#include "Range.h"
#include "ResourceError.h"
+#include "SecurityOrigin.h"
#undef LOG
#include "base/compiler_specific.h"
@@ -42,6 +43,7 @@
#include "webkit/api/public/WebPoint.h"
#include "webkit/api/public/WebRange.h"
#include "webkit/api/public/WebRect.h"
+#include "webkit/api/public/WebSecurityOrigin.h"
#include "webkit/api/public/WebSize.h"
#include "webkit/api/public/WebString.h"
#include "webkit/api/public/WebURL.h"
@@ -297,6 +299,13 @@
return range;
}
+// WebSecurityOrigin conversions -----------------------------------------------
+
+WebKit::WebSecurityOrigin SecurityOriginToWebSecurityOrigin(
+ const WTF::PassRefPtr<WebCore::SecurityOrigin>& origin) {
+ return origin;
+}
+
// WebURLError conversions -----------------------------------------------------
WebKit::WebURLError ResourceErrorToWebURLError(
« no previous file with comments | « webkit/glue/glue_util.h ('k') | webkit/glue/webframe_impl.h » ('j') | no next file with comments »

Powered by Google App Engine