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

Side by Side Diff: content/browser/service_worker/service_worker_dispatcher_host.h

Issue 1181973004: ServiceWorker: Route unregister() through WebServiceWorkerRegistration for refactoring (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove ifdef Created 5 years, 6 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
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_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/id_map.h" 10 #include "base/id_map.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 friend class base::DeleteHelper<ServiceWorkerDispatcherHost>; 82 friend class base::DeleteHelper<ServiceWorkerDispatcherHost>;
83 friend class TestingServiceWorkerDispatcherHost; 83 friend class TestingServiceWorkerDispatcherHost;
84 84
85 // IPC Message handlers 85 // IPC Message handlers
86 void OnRegisterServiceWorker(int thread_id, 86 void OnRegisterServiceWorker(int thread_id,
87 int request_id, 87 int request_id,
88 int provider_id, 88 int provider_id,
89 const GURL& pattern, 89 const GURL& pattern,
90 const GURL& script_url); 90 const GURL& script_url);
91 void OnUpdateServiceWorker(int provider_id, int64 registration_id); 91 void OnUpdateServiceWorker(int provider_id, int64 registration_id);
92 void OnDeprecatedUnregisterServiceWorker(int thread_id,
93 int request_id,
94 int provider_id,
95 const GURL& pattern);
92 void OnUnregisterServiceWorker(int thread_id, 96 void OnUnregisterServiceWorker(int thread_id,
93 int request_id, 97 int request_id,
94 int provider_id, 98 int provider_id,
95 const GURL& pattern); 99 int64 registration_id);
96 void OnGetRegistration(int thread_id, 100 void OnGetRegistration(int thread_id,
97 int request_id, 101 int request_id,
98 int provider_id, 102 int provider_id,
99 const GURL& document_url); 103 const GURL& document_url);
100 void OnGetRegistrations(int thread_id, int request_id, int provider_id); 104 void OnGetRegistrations(int thread_id, int request_id, int provider_id);
101 void OnGetRegistrationForReady(int thread_id, 105 void OnGetRegistrationForReady(int thread_id,
102 int request_id, 106 int request_id,
103 int provider_id); 107 int provider_id);
104 void OnProviderCreated(int provider_id, 108 void OnProviderCreated(int provider_id,
105 int render_frame_id, 109 int render_frame_id,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 209
206 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. 210 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL.
207 ScopedVector<IPC::Message> pending_messages_; 211 ScopedVector<IPC::Message> pending_messages_;
208 212
209 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); 213 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost);
210 }; 214 };
211 215
212 } // namespace content 216 } // namespace content
213 217
214 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ 218 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/bad_message.h ('k') | content/browser/service_worker/service_worker_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698