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

Side by Side Diff: content/child/service_worker/service_worker_dispatcher.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/child/service_worker/service_worker_dispatcher.h" 5 #include "content/child/service_worker/service_worker_dispatcher.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/threading/thread_local.h" 8 #include "base/threading/thread_local.h"
9 #include "content/child/service_worker/web_service_worker_impl.h" 9 #include "content/child/service_worker/web_service_worker_impl.h"
10 #include "content/child/thread_safe_sender.h" 10 #include "content/child/thread_safe_sender.h"
11 #include "content/common/service_worker_messages.h" 11 #include "content/common/service_worker_messages.h"
12 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" 12 #include "third_party/WebKit/public/web/WebSecurityOrigin.h"
13 13
14 using WebKit::WebServiceWorkerProvider; 14 using blink::WebServiceWorkerProvider;
15 using base::ThreadLocalPointer; 15 using base::ThreadLocalPointer;
16 using webkit_glue::WorkerTaskRunner; 16 using webkit_glue::WorkerTaskRunner;
17 17
18 namespace content { 18 namespace content {
19 19
20 namespace { 20 namespace {
21 21
22 base::LazyInstance<ThreadLocalPointer<ServiceWorkerDispatcher> >::Leaky 22 base::LazyInstance<ThreadLocalPointer<ServiceWorkerDispatcher> >::Leaky
23 g_dispatcher_tls = LAZY_INSTANCE_INITIALIZER; 23 g_dispatcher_tls = LAZY_INSTANCE_INITIALIZER;
24 24
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 if (!callbacks) 122 if (!callbacks)
123 return; 123 return;
124 124
125 callbacks->onSuccess(NULL); 125 callbacks->onSuccess(NULL);
126 pending_callbacks_.Remove(request_id); 126 pending_callbacks_.Remove(request_id);
127 } 127 }
128 128
129 void ServiceWorkerDispatcher::OnWorkerRunLoopStopped() { delete this; } 129 void ServiceWorkerDispatcher::OnWorkerRunLoopStopped() { delete this; }
130 130
131 } // namespace content 131 } // namespace content
OLDNEW
« no previous file with comments | « content/child/service_worker/service_worker_dispatcher.h ('k') | content/child/service_worker/web_service_worker_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698