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

Unified Diff: third_party/WebKit/Source/core/dom/ExecutionContext.cpp

Issue 1367853002: Move GeolocationDispatcher into blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/dom/ExecutionContext.cpp
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
index d7c503225059fccf0644153f1f681e25d157055f..cfc5fc79d50f23ce824f157d86067045a9ba7c3d 100644
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp
@@ -76,6 +76,7 @@ ExecutionContext::ExecutionContext()
, m_windowInteractionTokens(0)
, m_isRunSuspendableTasksScheduled(false)
, m_referrerPolicy(ReferrerPolicyDefault)
+ , m_serviceProvider(nullptr)
{
}
@@ -274,6 +275,11 @@ void ExecutionContext::setReferrerPolicy(ReferrerPolicy referrerPolicy)
m_referrerPolicy = referrerPolicy;
}
+void ExecutionContext::setServiceProvider(mojo::ServiceProvider* serviceProvider)
+{
+ m_serviceProvider = serviceProvider;
+}
+
void ExecutionContext::removeURLFromMemoryCache(const KURL& url)
{
memoryCache()->removeURLFromCache(url);

Powered by Google App Engine
This is Rietveld 408576698