| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |