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

Unified Diff: Source/modules/serviceworkers/ServiceWorker.cpp

Issue 683733002: ServiceWorker: Remove the obsolete "parsed" state [3/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 2 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
« no previous file with comments | « LayoutTests/http/tests/serviceworker/state.html ('k') | public/platform/WebServiceWorkerState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorker.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorker.cpp b/Source/modules/serviceworkers/ServiceWorker.cpp
index 385edee6aa7bbf77810e94eafaba870053e9ba77..0127d1f677907577f0e276e5776177eb89a510cd 100644
--- a/Source/modules/serviceworkers/ServiceWorker.cpp
+++ b/Source/modules/serviceworkers/ServiceWorker.cpp
@@ -119,7 +119,6 @@ String ServiceWorker::scriptURL() const
const AtomicString& ServiceWorker::state() const
{
DEFINE_STATIC_LOCAL(AtomicString, unknown, ("unknown", AtomicString::ConstructFromLiteral));
- DEFINE_STATIC_LOCAL(AtomicString, parsed, ("parsed", AtomicString::ConstructFromLiteral));
DEFINE_STATIC_LOCAL(AtomicString, installing, ("installing", AtomicString::ConstructFromLiteral));
DEFINE_STATIC_LOCAL(AtomicString, installed, ("installed", AtomicString::ConstructFromLiteral));
DEFINE_STATIC_LOCAL(AtomicString, activating, ("activating", AtomicString::ConstructFromLiteral));
@@ -131,8 +130,6 @@ const AtomicString& ServiceWorker::state() const
// The web platform should never see this internal state
ASSERT_NOT_REACHED();
return unknown;
- case WebServiceWorkerStateParsed:
- return parsed;
case WebServiceWorkerStateInstalling:
return installing;
case WebServiceWorkerStateInstalled:
« no previous file with comments | « LayoutTests/http/tests/serviceworker/state.html ('k') | public/platform/WebServiceWorkerState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698