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

Unified Diff: chrome/worker/worker_thread.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. 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 | « chrome/worker/webworkerclient_proxy.cc ('k') | chrome/worker/worker_webkitclient_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/worker/worker_thread.cc
diff --git a/chrome/worker/worker_thread.cc b/chrome/worker/worker_thread.cc
index c4937013eb77420a7ab60efc938c810bd1085f56..4a8ec52895d8446edd5d52e4bb879d7e1b7001b8 100644
--- a/chrome/worker/worker_thread.cc
+++ b/chrome/worker/worker_thread.cc
@@ -55,6 +55,9 @@ WorkerThread::WorkerThread() {
WebRuntimeFeatures::enableSockets(
!command_line.HasSwitch(switches::kDisableWebSockets));
+
+ WebRuntimeFeatures::enableFileSystem(
+ command_line.HasSwitch(switches::kEnableFileSystem));
}
WorkerThread::~WorkerThread() {
@@ -111,4 +114,3 @@ void WorkerThread::RemoveWorkerStub(WebWorkerStubBase* stub) {
void WorkerThread::AddWorkerStub(WebWorkerStubBase* stub) {
worker_stubs_.insert(stub);
}
-
« no previous file with comments | « chrome/worker/webworkerclient_proxy.cc ('k') | chrome/worker/worker_webkitclient_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698