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

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

Issue 62203007: Implement memory-persistent registration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Working version Created 7 years 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 | Annotate | Revision Log
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 "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "content/public/browser/browser_message_filter.h" 9 #include "content/public/browser/browser_message_filter.h"
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 protected: 28 protected:
29 virtual ~ServiceWorkerDispatcherHost(); 29 virtual ~ServiceWorkerDispatcherHost();
30 30
31 private: 31 private:
32 friend class TestingServiceWorkerDispatcherHost; 32 friend class TestingServiceWorkerDispatcherHost;
33 33
34 // IPC Message handlers 34 // IPC Message handlers
35 void OnRegisterServiceWorker(int32 thread_id, 35 void OnRegisterServiceWorker(int32 thread_id,
36 int32 request_id, 36 int32 request_id,
37 const GURL& scope, 37 const GURL& pattern,
38 const GURL& script_url); 38 const GURL& script_url);
39 void OnUnregisterServiceWorker(int32 thread_id, 39 void OnUnregisterServiceWorker(int32 thread_id,
40 int32 request_id, 40 int32 request_id,
41 const GURL& scope); 41 const GURL& pattern);
42 42
43 base::WeakPtr<ServiceWorkerContextCore> context_; 43 base::WeakPtr<ServiceWorkerContextCore> context_;
44 }; 44 };
45 45
46 } // namespace content 46 } // namespace content
47 47
48 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ 48 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698