 Chromium Code Reviews
 Chromium Code Reviews Issue 62203007:
  Implement memory-persistent registration  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 62203007:
  Implement memory-persistent registration  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| 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_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 "content/public/browser/browser_message_filter.h" | 8 #include "content/public/browser/browser_message_filter.h" | 
| 9 | 9 | 
| 10 class GURL; | 10 class GURL; | 
| (...skipping 16 matching lines...) Expand all Loading... | |
| 27 | 27 | 
| 28 private: | 28 private: | 
| 29 // IPC Message handlers | 29 // IPC Message handlers | 
| 30 void OnRegisterServiceWorker(int32 thread_id, | 30 void OnRegisterServiceWorker(int32 thread_id, | 
| 31 int32 request_id, | 31 int32 request_id, | 
| 32 const GURL& scope, | 32 const GURL& scope, | 
| 33 const GURL& script_url); | 33 const GURL& script_url); | 
| 34 void OnUnregisterServiceWorker(int32 thread_id, | 34 void OnUnregisterServiceWorker(int32 thread_id, | 
| 35 int32 request_id, | 35 int32 request_id, | 
| 36 const GURL& scope); | 36 const GURL& scope); | 
| 37 | |
| 38 void ServiceWorkerRegistered(int32 thread_id, | |
| 39 int32 request_id, | |
| 40 int32 worker_id); | |
| 41 void ServiceWorkerUnregistered(int32 thread_id, | |
| 42 int32 request_id, | |
| 43 int32 worker_id); | |
| 
kinuko
2013/11/08 09:08:21
Not implemented?
 
alecflett
2013/11/08 22:50:54
oops. Done.
 | |
| 44 | |
| 37 scoped_refptr<ServiceWorkerContext> context_; | 45 scoped_refptr<ServiceWorkerContext> context_; | 
| 38 }; | 46 }; | 
| 39 | 47 | 
| 40 } // namespace content | 48 } // namespace content | 
| 41 | 49 | 
| 42 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 50 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ | 
| OLD | NEW |