| Index: content/browser/service_worker/service_worker_version.h
|
| diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
|
| index 62b1303a0df491738f89e76b662bee08d9ee4388..c45c18a15b74d9e8656e481ff5261550630a0b6d 100644
|
| --- a/content/browser/service_worker/service_worker_version.h
|
| +++ b/content/browser/service_worker/service_worker_version.h
|
| @@ -360,6 +360,8 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTest, StayAliveAfterPush);
|
| FRIEND_TEST_ALL_PREFIXES(ServiceWorkerStallInStoppingTest, DetachThenStart);
|
| FRIEND_TEST_ALL_PREFIXES(ServiceWorkerStallInStoppingTest, DetachThenRestart);
|
| + FRIEND_TEST_ALL_PREFIXES(ServiceWorkerVersionTest,
|
| + RegisterForeignFetchScopes);
|
|
|
| class Metrics;
|
| class PingController;
|
| @@ -495,6 +497,8 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| const std::string& client_uuid,
|
| const ServiceWorkerClientInfo& client);
|
|
|
| + void OnRegisterForeignFetchScopes(const std::vector<GURL>& sub_scopes);
|
| +
|
| void DidEnsureLiveRegistrationForStartWorker(
|
| const StatusCallback& callback,
|
| ServiceWorkerStatusCode status,
|
| @@ -577,6 +581,7 @@ class CONTENT_EXPORT ServiceWorkerVersion
|
| const int64 registration_id_;
|
| const GURL script_url_;
|
| const GURL scope_;
|
| + std::vector<GURL> foreign_fetch_scopes_;
|
|
|
| Status status_ = NEW;
|
| scoped_ptr<EmbeddedWorkerInstance> embedded_worker_;
|
|
|