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

Unified Diff: content/renderer/websharedworker_proxy.cc

Issue 22314003: NavigationController prototype Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: NavController prototype - chrome side Created 7 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
« no previous file with comments | « content/renderer/websharedworker_proxy.h ('k') | content/worker/websharedworker_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/websharedworker_proxy.cc
diff --git a/content/renderer/websharedworker_proxy.cc b/content/renderer/websharedworker_proxy.cc
index 190a35c59cfda690deeaf2d68606e708996c2a59..6fea849521c0e315fde7ddabc927bd641ef6c7bd 100644
--- a/content/renderer/websharedworker_proxy.cc
+++ b/content/renderer/websharedworker_proxy.cc
@@ -127,8 +127,10 @@ void WebSharedWorkerProxy::startWorkerContext(
const WebKit::WebString& source_code,
const WebKit::WebString& content_security_policy,
WebKit::WebContentSecurityPolicyType policy_type,
- long long script_resource_appcache_id) {
+ long long script_resource_appcache_id,
+ bool is_controller) {
DCHECK(!isStarted());
+ DCHECK(!is_controller); // renderers can't create controllers directly
CreateWorkerContext(
script_url, true, name, user_agent, source_code, content_security_policy,
policy_type, pending_route_id_, script_resource_appcache_id);
@@ -184,4 +186,7 @@ void WebSharedWorkerProxy::OnWorkerCreated() {
}
}
+void WebSharedWorkerProxy::dispatchFetchEvent(int request_id,
+ WebKit::WebController::Request* request) { NOTREACHED(); }
+
} // namespace content
« no previous file with comments | « content/renderer/websharedworker_proxy.h ('k') | content/worker/websharedworker_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698