OLD | NEW |
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_VERSION_H_ | 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ |
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ | 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 const ServiceWorkerResponse& response); | 361 const ServiceWorkerResponse& response); |
362 void OnSyncEventFinished(int request_id); | 362 void OnSyncEventFinished(int request_id); |
363 void OnNotificationClickEventFinished(int request_id); | 363 void OnNotificationClickEventFinished(int request_id); |
364 void OnPushEventFinished(int request_id, | 364 void OnPushEventFinished(int request_id, |
365 blink::WebServiceWorkerEventResult result); | 365 blink::WebServiceWorkerEventResult result); |
366 void OnGeofencingEventFinished(int request_id); | 366 void OnGeofencingEventFinished(int request_id); |
367 void OnCrossOriginConnectEventFinished(int request_id, | 367 void OnCrossOriginConnectEventFinished(int request_id, |
368 bool accept_connection); | 368 bool accept_connection); |
369 void OnOpenWindow(int request_id, const GURL& url); | 369 void OnOpenWindow(int request_id, const GURL& url); |
370 void DidOpenWindow(int request_id, | 370 void DidOpenWindow(int request_id, |
| 371 const GURL& url, |
371 int render_process_id, | 372 int render_process_id, |
372 int render_frame_id); | 373 int render_frame_id); |
373 void OnOpenWindowFinished(int request_id, | 374 void OnOpenWindowFinished(int request_id, |
| 375 const GURL& url, |
374 int client_id, | 376 int client_id, |
375 const ServiceWorkerClientInfo& client_info); | 377 const ServiceWorkerClientInfo& client_info); |
376 | 378 |
377 void OnSetCachedMetadata(const GURL& url, const std::vector<char>& data); | 379 void OnSetCachedMetadata(const GURL& url, const std::vector<char>& data); |
378 void OnSetCachedMetadataFinished(int64 callback_id, int result); | 380 void OnSetCachedMetadataFinished(int64 callback_id, int result); |
379 void OnClearCachedMetadata(const GURL& url); | 381 void OnClearCachedMetadata(const GURL& url); |
380 void OnClearCachedMetadataFinished(int64 callback_id, int result); | 382 void OnClearCachedMetadataFinished(int64 callback_id, int result); |
381 | 383 |
382 void OnPostMessageToDocument( | 384 void OnPostMessageToDocument( |
383 int client_id, | 385 int client_id, |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 scoped_ptr<net::HttpResponseInfo> main_script_http_info_; | 462 scoped_ptr<net::HttpResponseInfo> main_script_http_info_; |
461 | 463 |
462 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; | 464 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; |
463 | 465 |
464 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); | 466 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); |
465 }; | 467 }; |
466 | 468 |
467 } // namespace content | 469 } // namespace content |
468 | 470 |
469 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ | 471 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ |
OLD | NEW |