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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 void OnFetchEventFinished(int request_id, | 354 void OnFetchEventFinished(int request_id, |
355 ServiceWorkerFetchEventResult result, | 355 ServiceWorkerFetchEventResult result, |
356 const ServiceWorkerResponse& response); | 356 const ServiceWorkerResponse& response); |
357 void OnSyncEventFinished(int request_id); | 357 void OnSyncEventFinished(int request_id); |
358 void OnNotificationClickEventFinished(int request_id); | 358 void OnNotificationClickEventFinished(int request_id); |
359 void OnPushEventFinished(int request_id, | 359 void OnPushEventFinished(int request_id, |
360 blink::WebServiceWorkerEventResult result); | 360 blink::WebServiceWorkerEventResult result); |
361 void OnGeofencingEventFinished(int request_id); | 361 void OnGeofencingEventFinished(int request_id); |
362 void OnCrossOriginConnectEventFinished(int request_id, | 362 void OnCrossOriginConnectEventFinished(int request_id, |
363 bool accept_connection); | 363 bool accept_connection); |
364 void OnOpenWindow(int request_id, const GURL& url); | 364 void OnOpenWindow(int request_id, GURL url); |
365 void DidOpenWindow(int request_id, | 365 void DidOpenWindow(int request_id, |
366 int render_process_id, | 366 int render_process_id, |
367 int render_frame_id); | 367 int render_frame_id); |
368 void OnOpenWindowFinished(int request_id, | 368 void OnOpenWindowFinished(int request_id, |
369 int client_id, | 369 int client_id, |
370 const ServiceWorkerClientInfo& client_info); | 370 const ServiceWorkerClientInfo& client_info); |
371 | 371 |
372 void OnSetCachedMetadata(const GURL& url, const std::vector<char>& data); | 372 void OnSetCachedMetadata(const GURL& url, const std::vector<char>& data); |
373 void OnSetCachedMetadataFinished(int64 callback_id, int result); | 373 void OnSetCachedMetadataFinished(int64 callback_id, int result); |
374 void OnClearCachedMetadata(const GURL& url); | 374 void OnClearCachedMetadata(const GURL& url); |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 scoped_ptr<net::HttpResponseInfo> main_script_http_info_; | 478 scoped_ptr<net::HttpResponseInfo> main_script_http_info_; |
479 | 479 |
480 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; | 480 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; |
481 | 481 |
482 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); | 482 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); |
483 }; | 483 }; |
484 | 484 |
485 } // namespace content | 485 } // namespace content |
486 | 486 |
487 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ | 487 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ |
OLD | NEW |