Chromium Code Reviews

Unified Diff: chrome/worker/webworker_stub.cc

Issue 3394003: Add Worker support for FileSystem API. (Closed)
Patch Set: '' Created 10 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 | « chrome/worker/webworker_stub.h ('k') | chrome/worker/webworker_stub_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/worker/webworker_stub.cc
diff --git a/chrome/worker/webworker_stub.cc b/chrome/worker/webworker_stub.cc
index 89cc38488c55ae775bc8bd837b2ac6ca0e6cc8de..78d980e700dd329537e0943fda130efac26f1186 100644
--- a/chrome/worker/webworker_stub.cc
+++ b/chrome/worker/webworker_stub.cc
@@ -5,7 +5,9 @@
#include "chrome/worker/webworker_stub.h"
#include "base/command_line.h"
+#include "chrome/common/child_thread.h"
#include "chrome/common/chrome_switches.h"
+#include "chrome/common/file_system/file_system_dispatcher.h"
#include "chrome/common/webmessageportchannel_impl.h"
#include "chrome/common/worker_messages.h"
#include "chrome/worker/nativewebworker_impl.h"
@@ -35,7 +37,8 @@ static bool UrlIsNativeWorker(const GURL& url) {
WebWorkerStub::WebWorkerStub(const GURL& url, int route_id,
const WorkerAppCacheInitInfo& appcache_init_info)
- : WebWorkerStubBase(route_id, appcache_init_info) {
+ : WebWorkerStubBase(route_id, appcache_init_info),
+ url_(url) {
if (UrlIsNativeWorker(url)) {
// Launch a native worker.
impl_ = NativeWebWorkerImpl::create(client());
« no previous file with comments | « chrome/worker/webworker_stub.h ('k') | chrome/worker/webworker_stub_base.h » ('j') | no next file with comments »

Powered by Google App Engine