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

Unified Diff: content/child/service_worker/service_worker_dispatcher_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/child/service_worker/service_worker_dispatcher_unittest.cc
diff --git a/content/child/service_worker/service_worker_dispatcher_unittest.cc b/content/child/service_worker/service_worker_dispatcher_unittest.cc
index eaca487bea477eed620e0bc8e049b9f2699cf2ae..9a75ee15caa07f1cfee806a53e5143f7bb13b129 100644
--- a/content/child/service_worker/service_worker_dispatcher_unittest.cc
+++ b/content/child/service_worker/service_worker_dispatcher_unittest.cc
@@ -48,11 +48,11 @@ class ServiceWorkerDispatcherTest : public testing::Test {
info->registration_id = 20;
attrs->active.handle_id = 100;
- attrs->active.version_id = 200;
+ attrs->active.version_uuid = "94940585-0207-4d8b-bbf2-b0e811b9e5c1";
attrs->waiting.handle_id = 101;
- attrs->waiting.version_id = 201;
+ attrs->waiting.version_uuid = "f955c2a7-73ac-446d-a4cb-3341a1bb6719";
attrs->installing.handle_id = 102;
- attrs->installing.version_id = 202;
+ attrs->installing.version_uuid = "251c5cce-f67e-494f-8701-069aabd16402";
}
WebServiceWorkerRegistrationImpl* FindOrCreateRegistration(

Powered by Google App Engine
This is Rietveld 408576698