| Index: content/browser/service_worker/service_worker_request_handler_unittest.cc
|
| diff --git a/content/browser/service_worker/service_worker_request_handler_unittest.cc b/content/browser/service_worker/service_worker_request_handler_unittest.cc
|
| index 56dcac66425bd13010c1405779ebce95c34b7a84..e1391dd9d0dcfc563cac0fc4db139fa08e7ca6a2 100644
|
| --- a/content/browser/service_worker/service_worker_request_handler_unittest.cc
|
| +++ b/content/browser/service_worker/service_worker_request_handler_unittest.cc
|
| @@ -42,11 +42,10 @@ class ServiceWorkerRequestHandlerTest : public testing::Test {
|
| helper_.reset(new EmbeddedWorkerTestHelper(base::FilePath()));
|
|
|
| // A new unstored registration/version.
|
| - registration_ = new ServiceWorkerRegistration(
|
| - GURL("http://host/scope/"), 1L, context()->AsWeakPtr());
|
| + registration_ = new ServiceWorkerRegistration(GURL("https://host/scope/"),
|
| + 1L, context()->AsWeakPtr());
|
| version_ = new ServiceWorkerVersion(registration_.get(),
|
| - GURL("http://host/script.js"),
|
| - 1L,
|
| + GURL("https://host/script.js"), 1L,
|
| context()->AsWeakPtr());
|
|
|
| // An empty host.
|
| @@ -54,8 +53,9 @@ class ServiceWorkerRequestHandlerTest : public testing::Test {
|
| new ServiceWorkerProviderHost(helper_->mock_render_process_id(),
|
| MSG_ROUTING_NONE, kMockProviderId,
|
| SERVICE_WORKER_PROVIDER_FOR_WINDOW,
|
| + true /* is_parent_frame_secure */,
|
| context()->AsWeakPtr(), nullptr));
|
| - host->SetDocumentUrl(GURL("http://host/scope/"));
|
| + host->SetDocumentUrl(GURL("https://host/scope/"));
|
| provider_host_ = host->AsWeakPtr();
|
| context()->AddProviderHost(std::move(host));
|
|
|
|
|