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

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

Issue 2451373003: service worker: Implement NavigationPreloadManager.setHeaderValue (Closed)
Patch Set: rebase 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 int provider_id); 131 int provider_id);
132 void OnEnableNavigationPreload(int thread_id, 132 void OnEnableNavigationPreload(int thread_id,
133 int request_id, 133 int request_id,
134 int provider_id, 134 int provider_id,
135 int64_t registration_id, 135 int64_t registration_id,
136 bool enable); 136 bool enable);
137 void OnGetNavigationPreloadState(int thread_id, 137 void OnGetNavigationPreloadState(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 void OnSetNavigationPreloadHeader(int thread_id,
142 int request_id,
143 int provider_id,
144 int64_t registration_id,
145 const std::string& value);
141 void OnProviderDestroyed(int provider_id); 146 void OnProviderDestroyed(int provider_id);
142 void OnSetHostedVersionId(int provider_id, 147 void OnSetHostedVersionId(int provider_id,
143 int64_t version_id, 148 int64_t version_id,
144 int embedded_worker_id); 149 int embedded_worker_id);
145 void OnWorkerReadyForInspection(int embedded_worker_id); 150 void OnWorkerReadyForInspection(int embedded_worker_id);
146 void OnWorkerScriptLoaded(int embedded_worker_id); 151 void OnWorkerScriptLoaded(int embedded_worker_id);
147 void OnWorkerThreadStarted(int embedded_worker_id, 152 void OnWorkerThreadStarted(int embedded_worker_id,
148 int thread_id, 153 int thread_id,
149 int provider_id); 154 int provider_id);
150 void OnWorkerScriptLoadFailed(int embedded_worker_id); 155 void OnWorkerScriptLoadFailed(int embedded_worker_id);
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 mojo::AssociatedBindingSet<mojom::ServiceWorkerDispatcherHost> bindings_; 277 mojo::AssociatedBindingSet<mojom::ServiceWorkerDispatcherHost> bindings_;
273 278
274 base::WeakPtrFactory<ServiceWorkerDispatcherHost> weak_factory_; 279 base::WeakPtrFactory<ServiceWorkerDispatcherHost> weak_factory_;
275 280
276 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost); 281 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerDispatcherHost);
277 }; 282 };
278 283
279 } // namespace content 284 } // namespace content
280 285
281 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_ 286 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_DISPATCHER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698