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

Unified Diff: content/worker/websharedworker_stub.h

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.cc ('k') | content/worker/websharedworker_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/websharedworker_stub.h
diff --git a/content/worker/websharedworker_stub.h b/content/worker/websharedworker_stub.h
index 8dd312d5d995d421307fd6772e412a57515c69e9..498bc51905ffbdef5ca608ce7a34b6222d53edf2 100644
--- a/content/worker/websharedworker_stub.h
+++ b/content/worker/websharedworker_stub.h
@@ -8,6 +8,7 @@
#include "base/memory/scoped_ptr.h"
#include "content/worker/websharedworkerclient_proxy.h"
#include "content/worker/worker_webapplicationcachehost_impl.h"
+#include "webkit/browser/appcache/appcache_executable_handler.h"
#include "ipc/ipc_listener.h"
#include "third_party/WebKit/public/web/WebSharedWorker.h"
#include "url/gurl.h"
@@ -56,7 +57,12 @@ class WebSharedWorkerStub : public IPC::Listener {
const GURL& url, const string16& user_agent, const string16& source_code,
const string16& content_security_policy,
WebKit::WebContentSecurityPolicyType policy_type);
-
+ void OnStartEmbeddedWorkerContext(
+ const GURL& url, const std::string& raw_source_code);
+ void OnFetchEvent(
+ int request_id,
+ const appcache::AppCacheExecutableHandler::Request& request);
+ void OnInstallEvent(int host_id);
void OnTerminateWorkerContext();
int route_id_;
@@ -76,6 +82,8 @@ class WebSharedWorkerStub : public IPC::Listener {
typedef std::vector<PendingConnectInfo> PendingConnectInfoList;
PendingConnectInfoList pending_connects_;
+ bool is_embedded_worker_;
+
DISALLOW_COPY_AND_ASSIGN(WebSharedWorkerStub);
};
« no previous file with comments | « content/renderer/websharedworker_proxy.cc ('k') | content/worker/websharedworker_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698