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

Side by Side Diff: chrome/worker/worker_thread.cc

Issue 3108042: Support sending BlobData to browser process. Also support sending UploadData... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/testing_profile.h ('k') | chrome/worker/worker_webkitclient_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/worker/worker_thread.h" 5 #include "chrome/worker/worker_thread.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "base/thread_local.h" 9 #include "base/thread_local.h"
10 #include "chrome/common/appcache/appcache_dispatcher.h" 10 #include "chrome/common/appcache/appcache_dispatcher.h"
11 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
12 #include "chrome/common/db_message_filter.h" 12 #include "chrome/common/db_message_filter.h"
13 #include "chrome/common/web_database_observer_impl.h" 13 #include "chrome/common/web_database_observer_impl.h"
14 #include "chrome/common/worker_messages.h" 14 #include "chrome/common/worker_messages.h"
15 #include "chrome/worker/webworker_stub.h" 15 #include "chrome/worker/webworker_stub.h"
16 #include "chrome/worker/websharedworker_stub.h" 16 #include "chrome/worker/websharedworker_stub.h"
17 #include "chrome/worker/worker_webkitclient_impl.h" 17 #include "chrome/worker/worker_webkitclient_impl.h"
18 #include "ipc/ipc_sync_channel.h" 18 #include "ipc/ipc_sync_channel.h"
19 #include "third_party/WebKit/WebKit/chromium/public/WebBlobRegistry.h"
19 #include "third_party/WebKit/WebKit/chromium/public/WebDatabase.h" 20 #include "third_party/WebKit/WebKit/chromium/public/WebDatabase.h"
20 #include "third_party/WebKit/WebKit/chromium/public/WebKit.h" 21 #include "third_party/WebKit/WebKit/chromium/public/WebKit.h"
21 #include "third_party/WebKit/WebKit/chromium/public/WebRuntimeFeatures.h" 22 #include "third_party/WebKit/WebKit/chromium/public/WebRuntimeFeatures.h"
22 23
23 using WebKit::WebRuntimeFeatures; 24 using WebKit::WebRuntimeFeatures;
24 25
25 static base::LazyInstance<base::ThreadLocalPointer<WorkerThread> > lazy_tls( 26 static base::LazyInstance<base::ThreadLocalPointer<WorkerThread> > lazy_tls(
26 base::LINKER_INITIALIZED); 27 base::LINKER_INITIALIZED);
27 28
28 29
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 105 }
105 106
106 void WorkerThread::RemoveWorkerStub(WebWorkerStubBase* stub) { 107 void WorkerThread::RemoveWorkerStub(WebWorkerStubBase* stub) {
107 worker_stubs_.erase(stub); 108 worker_stubs_.erase(stub);
108 } 109 }
109 110
110 void WorkerThread::AddWorkerStub(WebWorkerStubBase* stub) { 111 void WorkerThread::AddWorkerStub(WebWorkerStubBase* stub) {
111 worker_stubs_.insert(stub); 112 worker_stubs_.insert(stub);
112 } 113 }
113 114
OLDNEW
« no previous file with comments | « chrome/test/testing_profile.h ('k') | chrome/worker/worker_webkitclient_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698