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

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

Issue 2637763002: Enable ServiceWorkerNavigationPreload by default for Origin-Trial. (Closed)
Patch Set: incorporated kinuko's comment 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
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_VERSION_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 base::Time dispatch_event_time); 432 base::Time dispatch_event_time);
433 433
434 void NotifyMainScriptRequestHandlerCreated(); 434 void NotifyMainScriptRequestHandlerCreated();
435 void NotifyMainScriptJobCreated( 435 void NotifyMainScriptJobCreated(
436 ServiceWorkerContextRequestHandler::CreateJobStatus status); 436 ServiceWorkerContextRequestHandler::CreateJobStatus status);
437 437
438 // Returns the Navigation Preload support status of the service worker. 438 // Returns the Navigation Preload support status of the service worker.
439 // - Origin Trial: Have an effective token. 439 // - Origin Trial: Have an effective token.
440 // Command line 440 // Command line
441 // Default Enable Disabled 441 // Default Enable Disabled
442 // Default B1 A B2 442 // Default A A B2
443 // Field trial Enabled A A B2 443 // Field trial Enabled A A B2
444 // Disabled B1 A B2 444 // Disabled B1 A B2
445 // 445 //
446 // - Origin Trial: No token. 446 // - Origin Trial: No token.
447 // Command line 447 // Command line
448 // Default Enable Disabled 448 // Default Enable Disabled
449 // Default C A C 449 // Default C A C
450 // Field trial Enabled C A C 450 // Field trial Enabled C A C
451 // Disabled C A C 451 // Disabled C A C
452 // 452 //
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 900
901 // At this point |this| can have been deleted, so don't do anything other 901 // At this point |this| can have been deleted, so don't do anything other
902 // than returning. 902 // than returning.
903 903
904 return true; 904 return true;
905 } 905 }
906 906
907 } // namespace content 907 } // namespace content
908 908
909 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 909 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
OLDNEW
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698