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

Side by Side Diff: content/worker/websharedworkerclient_proxy.cc

Issue 9558006: Rename content/{common,browser}/file_system to fileapi and move blob stuff into it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/worker/websharedworkerclient_proxy.h" 5 #include "content/worker/websharedworkerclient_proxy.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "content/common/file_system/file_system_dispatcher.h" 10 #include "content/common/fileapi/file_system_dispatcher.h"
11 #include "content/common/file_system/webfilesystem_callback_dispatcher.h" 11 #include "content/common/fileapi/webfilesystem_callback_dispatcher.h"
12 #include "content/common/webmessageportchannel_impl.h" 12 #include "content/common/webmessageportchannel_impl.h"
13 #include "content/common/worker_messages.h" 13 #include "content/common/worker_messages.h"
14 #include "content/public/common/content_switches.h" 14 #include "content/public/common/content_switches.h"
15 #include "content/worker/shared_worker_devtools_agent.h" 15 #include "content/worker/shared_worker_devtools_agent.h"
16 #include "content/worker/websharedworker_stub.h" 16 #include "content/worker/websharedworker_stub.h"
17 #include "content/worker/worker_thread.h" 17 #include "content/worker/worker_thread.h"
18 #include "content/worker/worker_webapplicationcachehost_impl.h" 18 #include "content/worker/worker_webapplicationcachehost_impl.h"
19 #include "ipc/ipc_logging.h" 19 #include "ipc/ipc_logging.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback s.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystemCallback s.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 // This shuts down the process cleanly from the perspective of the browser 197 // This shuts down the process cleanly from the perspective of the browser
198 // process, and avoids the crashed worker infobar from appearing to the new 198 // process, and avoids the crashed worker infobar from appearing to the new
199 // page. It's ok to post several of theese, because the first executed task 199 // page. It's ok to post several of theese, because the first executed task
200 // will exit the message loop and subsequent ones won't be executed. 200 // will exit the message loop and subsequent ones won't be executed.
201 MessageLoop::current()->PostDelayedTask(FROM_HERE, 201 MessageLoop::current()->PostDelayedTask(FROM_HERE,
202 base::Bind( 202 base::Bind(
203 &WebSharedWorkerClientProxy::workerContextDestroyed, 203 &WebSharedWorkerClientProxy::workerContextDestroyed,
204 weak_factory_.GetWeakPtr()), 204 weak_factory_.GetWeakPtr()),
205 base::TimeDelta::FromSeconds(kMaxTimeForRunawayWorkerSeconds)); 205 base::TimeDelta::FromSeconds(kMaxTimeForRunawayWorkerSeconds));
206 } 206 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698