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

Side by Side Diff: content/child/service_worker/service_worker_message_filter.h

Issue 717353004: ServiceWorker: Add support for .skipWaiting and controllerchange event(2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 6 years 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
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 #ifndef CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_
6 #define CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_ 6 #define CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_
7 7
8 #include "content/child/child_message_filter.h" 8 #include "content/child/child_message_filter.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 const ServiceWorkerVersionAttributes& attrs); 42 const ServiceWorkerVersionAttributes& attrs);
43 void OnStaleSetVersionAttributes( 43 void OnStaleSetVersionAttributes(
44 int thread_id, 44 int thread_id,
45 int provider_id, 45 int provider_id,
46 int registration_handle_id, 46 int registration_handle_id,
47 int changed_mask, 47 int changed_mask,
48 const ServiceWorkerVersionAttributes& attrs); 48 const ServiceWorkerVersionAttributes& attrs);
49 void OnStaleSetControllerServiceWorker( 49 void OnStaleSetControllerServiceWorker(
50 int thread_id, 50 int thread_id,
51 int provider_id, 51 int provider_id,
52 const ServiceWorkerObjectInfo& info); 52 const ServiceWorkerObjectInfo& info,
53 bool should_notify_controllerchange);
53 54
54 scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_; 55 scoped_refptr<base::MessageLoopProxy> main_thread_loop_proxy_;
55 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 56 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
56 57
57 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerMessageFilter); 58 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerMessageFilter);
58 }; 59 };
59 60
60 } // namespace content 61 } // namespace content
61 62
62 #endif // CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_ 63 #endif // CONTENT_CHILD_SERVICE_WORKER_SERVICE_WORKER_MESSAGE_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698