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

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

Issue 1278713002: Service Worker: Add missing ServiceWorkerDispatcherHost::SendUpdateError. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_dispatcher_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 int thread_id, 183 int thread_id,
184 int request_id, 184 int request_id,
185 base::WeakPtr<ServiceWorkerProviderHost> provider_host, 185 base::WeakPtr<ServiceWorkerProviderHost> provider_host,
186 ServiceWorkerRegistration* registration); 186 ServiceWorkerRegistration* registration);
187 187
188 void SendRegistrationError(int thread_id, 188 void SendRegistrationError(int thread_id,
189 int request_id, 189 int request_id,
190 ServiceWorkerStatusCode status, 190 ServiceWorkerStatusCode status,
191 const std::string& status_message); 191 const std::string& status_message);
192 192
193 void SendUpdateError(int thread_id,
194 int request_id,
195 ServiceWorkerStatusCode status,
196 const std::string& status_message);
197
193 void SendUnregistrationError(int thread_id, 198 void SendUnregistrationError(int thread_id,
194 int request_id, 199 int request_id,
195 ServiceWorkerStatusCode status); 200 ServiceWorkerStatusCode status);
196 201
197 void SendGetRegistrationError(int thread_id, 202 void SendGetRegistrationError(int thread_id,
198 int request_id, 203 int request_id,
199 ServiceWorkerStatusCode status); 204 ServiceWorkerStatusCode status);
200 205
201 void SendGetRegistrationsError(int thread_id, 206 void SendGetRegistrationsError(int thread_id,
202 int request_id, 207 int request_id,
(...skipping 11 matching lines...) Expand all
214 219
215 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL. 220 bool channel_ready_; // True after BrowserMessageFilter::sender_ != NULL.
216 ScopedVector<IPC::Message> pending_messages_; 221 ScopedVector<IPC::Message> pending_messages_;
217 222
218 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); 223 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost);
219 }; 224 };
220 225
221 } // namespace content 226 } // namespace content
222 227
223 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ 228 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698