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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.h

Issue 2706013002: Added support for self.origin in Window and WorkerGlobalScope (Closed)
Patch Set: rebase-update after manifest.json changes Created 3 years, 10 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
Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
index d2dad8583f2d075f4f767441bb21877da9f0ae45..7f869a272b587c01527207842f5d965a9be90360 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
@@ -101,6 +101,8 @@ class CORE_EXPORT WorkerGlobalScope
return ExecutionContext::isSecureContext(StandardSecureContextCheck);
}
+ String origin() const;
+
DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
DEFINE_ATTRIBUTE_EVENT_LISTENER(rejectionhandled);
DEFINE_ATTRIBUTE_EVENT_LISTENER(unhandledrejection);
« no previous file with comments | « third_party/WebKit/Source/core/frame/Window.idl ('k') | third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698