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

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

Issue 127583002: Separate EmbeddedWorker messages into another file to use different msg class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 6 years, 11 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 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/web_service_worker_provider_impl.h" 5 #include "content/child/service_worker/web_service_worker_provider_impl.h"
6 6
7 #include "base/atomic_sequence_num.h" 7 #include "base/atomic_sequence_num.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "content/child/child_thread.h" 9 #include "content/child/child_thread.h"
10 #include "content/child/service_worker/service_worker_dispatcher.h" 10 #include "content/child/service_worker/service_worker_dispatcher.h"
11 #include "content/child/thread_safe_sender.h" 11 #include "content/child/thread_safe_sender.h"
12 #include "content/common/service_worker_messages.h" 12 #include "content/common/service_worker/service_worker_messages.h"
13 #include "third_party/WebKit/public/platform/WebURL.h" 13 #include "third_party/WebKit/public/platform/WebURL.h"
14 14
15 using blink::WebURL; 15 using blink::WebURL;
16 16
17 namespace content { 17 namespace content {
18 18
19 namespace { 19 namespace {
20 20
21 // Must be unique in the child process. 21 // Must be unique in the child process.
22 int GetNextProviderId() { 22 int GetNextProviderId() {
(...skipping 27 matching lines...) Expand all
50 } 50 }
51 51
52 void WebServiceWorkerProviderImpl::unregisterServiceWorker( 52 void WebServiceWorkerProviderImpl::unregisterServiceWorker(
53 const WebURL& pattern, 53 const WebURL& pattern,
54 WebServiceWorkerCallbacks* callbacks) { 54 WebServiceWorkerCallbacks* callbacks) {
55 ServiceWorkerDispatcher::ThreadSpecificInstance(thread_safe_sender_) 55 ServiceWorkerDispatcher::ThreadSpecificInstance(thread_safe_sender_)
56 ->UnregisterServiceWorker(pattern, callbacks); 56 ->UnregisterServiceWorker(pattern, callbacks);
57 } 57 }
58 58
59 } // namespace content 59 } // namespace content
OLDNEW
« no previous file with comments | « content/child/service_worker/service_worker_dispatcher.cc ('k') | content/common/content_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698