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

Unified Diff: content/worker/worker_thread.cc

Issue 11231016: Move content's a plugin, ppapi_plugin, utility, and worker subdirectories to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 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/worker/worker_thread.h ('k') | content/worker/worker_webapplicationcachehost_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/worker_thread.cc
===================================================================
--- content/worker/worker_thread.cc (revision 163080)
+++ content/worker/worker_thread.cc (working copy)
@@ -24,10 +24,11 @@
using WebKit::WebRuntimeFeatures;
+namespace content {
+
static base::LazyInstance<base::ThreadLocalPointer<WorkerThread> > lazy_tls =
LAZY_INSTANCE_INITIALIZER;
-
WorkerThread::WorkerThread() {
lazy_tls.Pointer()->Set(this);
webkit_platform_support_.reset(new WorkerWebKitPlatformSupportImpl);
@@ -126,3 +127,5 @@
void WorkerThread::AddWorkerStub(WebSharedWorkerStub* stub) {
worker_stubs_.insert(stub);
}
+
+} // namespace content
« no previous file with comments | « content/worker/worker_thread.h ('k') | content/worker/worker_webapplicationcachehost_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698