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

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

Issue 2575523002: Prerender: Confirm ServiceWorkers are invoked for NoState Prefetch (Closed)
Patch Set: drop prefetch url request Created 3 years, 11 months 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_PROVIDER_HOST_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, 292 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP,
293 UpdateBefore24Hours); 293 UpdateBefore24Hours);
294 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, 294 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP,
295 UpdateAfter24Hours); 295 UpdateAfter24Hours);
296 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, 296 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP,
297 UpdateForceBypassCache); 297 UpdateForceBypassCache);
298 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, 298 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP,
299 ServiceWorkerDataRequestAnnotation); 299 ServiceWorkerDataRequestAnnotation);
300 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP, 300 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP,
301 SkipServiceWorkerForServiceWorkerRequest); 301 SkipServiceWorkerForServiceWorkerRequest);
302 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerContextRequestHandlerTestP,
303 DropPrefetch);
302 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerProviderHostTestP, ContextSecurity); 304 FRIEND_TEST_ALL_PREFIXES(ServiceWorkerProviderHostTestP, ContextSecurity);
303 305
304 struct OneShotGetReadyCallback { 306 struct OneShotGetReadyCallback {
305 GetRegistrationForReadyCallback callback; 307 GetRegistrationForReadyCallback callback;
306 bool called; 308 bool called;
307 309
308 explicit OneShotGetReadyCallback( 310 explicit OneShotGetReadyCallback(
309 const GetRegistrationForReadyCallback& callback); 311 const GetRegistrationForReadyCallback& callback);
310 ~OneShotGetReadyCallback(); 312 ~OneShotGetReadyCallback();
311 }; 313 };
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 bool controller_was_deleted_; 396 bool controller_was_deleted_;
395 397
396 std::vector<base::Closure> queued_events_; 398 std::vector<base::Closure> queued_events_;
397 399
398 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderHost); 400 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerProviderHost);
399 }; 401 };
400 402
401 } // namespace content 403 } // namespace content
402 404
403 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_ 405 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_PROVIDER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698