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

Unified Diff: content/browser/service_worker/service_worker_request_handler_unittest.cc

Issue 1221643014: Service Worker: Migrate to version_uuid and surface ServiceWorker.id. (Chromium 2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
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 4d12e994a37d10057ef975b70c7b13cee7d09987..eba0dcd9146513b4ec37d4f7a29ee0a922cb4e3e 100644
--- a/content/browser/service_worker/service_worker_request_handler_unittest.cc
+++ b/content/browser/service_worker/service_worker_request_handler_unittest.cc
@@ -44,10 +44,10 @@ class ServiceWorkerRequestHandlerTest : public testing::Test {
// A new unstored registration/version.
registration_ = new ServiceWorkerRegistration(
GURL("http://host/scope/"), 1L, context()->AsWeakPtr());
- version_ = new ServiceWorkerVersion(registration_.get(),
- GURL("http://host/script.js"),
- 1L,
- context()->AsWeakPtr());
+ version_ = new ServiceWorkerVersion(
+ registration_.get(), GURL("http://host/script.js"),
+ std::string("c0b660da-5683-4b21-8f3f-018bb07de3fb"),
+ context()->AsWeakPtr());
// An empty host.
scoped_ptr<ServiceWorkerProviderHost> host(new ServiceWorkerProviderHost(

Powered by Google App Engine
This is Rietveld 408576698