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 2443103002: service worker: Implement NavigationPreloadManager.getState (Closed)
Patch Set: rm file added in bad merge Created 4 years, 1 month 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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 const GURL& document_url); 132 const GURL& document_url);
133 void OnGetRegistrations(int thread_id, int request_id, int provider_id); 133 void OnGetRegistrations(int thread_id, int request_id, int provider_id);
134 void OnGetRegistrationForReady(int thread_id, 134 void OnGetRegistrationForReady(int thread_id,
135 int request_id, 135 int request_id,
136 int provider_id); 136 int provider_id);
137 void OnEnableNavigationPreload(int thread_id, 137 void OnEnableNavigationPreload(int thread_id,
138 int request_id, 138 int request_id,
139 int provider_id, 139 int provider_id,
140 int64_t registration_id, 140 int64_t registration_id,
141 bool enable); 141 bool enable);
142 void OnGetNavigationPreloadState(int thread_id,
143 int request_id,
144 int provider_id,
145 int64_t registration_id);
142 void OnProviderDestroyed(int provider_id); 146 void OnProviderDestroyed(int provider_id);
143 void OnSetHostedVersionId(int provider_id, 147 void OnSetHostedVersionId(int provider_id,
144 int64_t version_id, 148 int64_t version_id,
145 int embedded_worker_id); 149 int embedded_worker_id);
146 void OnWorkerReadyForInspection(int embedded_worker_id); 150 void OnWorkerReadyForInspection(int embedded_worker_id);
147 void OnWorkerScriptLoaded(int embedded_worker_id); 151 void OnWorkerScriptLoaded(int embedded_worker_id);
148 void OnWorkerThreadStarted(int embedded_worker_id, 152 void OnWorkerThreadStarted(int embedded_worker_id,
149 int thread_id, 153 int thread_id,
150 int provider_id); 154 int provider_id);
151 void OnWorkerScriptLoadFailed(int embedded_worker_id); 155 void OnWorkerScriptLoadFailed(int embedded_worker_id);
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 mojo::AssociatedBindingSet<mojom::ServiceWorkerDispatcherHost> bindings_; 278 mojo::AssociatedBindingSet<mojom::ServiceWorkerDispatcherHost> bindings_;
275 279
276 base::WeakPtrFactory<ServiceWorkerDispatcherHost> weak_factory_; 280 base::WeakPtrFactory<ServiceWorkerDispatcherHost> weak_factory_;
277 281
278 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); 282 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost);
279 }; 283 };
280 284
281 } // namespace content 285 } // namespace content
282 286
283 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ 287 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/bad_message.h ('k') | content/browser/service_worker/service_worker_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698