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

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

Issue 489473002: refer to WebServiceWorkerCacheError values in c++03 style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/CacheStorage.cpp
diff --git a/Source/modules/serviceworkers/CacheStorage.cpp b/Source/modules/serviceworkers/CacheStorage.cpp
index 2eadf137b3aedc8bfceefe4914e39c59556a4f35..345acfb523a1a2a6d74dae5a08c3aa25d1530a88 100644
--- a/Source/modules/serviceworkers/CacheStorage.cpp
+++ b/Source/modules/serviceworkers/CacheStorage.cpp
@@ -19,11 +19,11 @@ const char* CacheErrorToString(WebServiceWorkerCacheError reason)
{
// FIXME: Construct correct DOM error objects rather than returning strings.
switch (reason) {
- case WebServiceWorkerCacheError::WebServiceWorkerCacheErrorNotImplemented:
+ case WebServiceWorkerCacheErrorNotImplemented:
return "not implemented";
- case WebServiceWorkerCacheError::WebServiceWorkerCacheErrorNotFound:
+ case WebServiceWorkerCacheErrorNotFound:
return "not found";
- case WebServiceWorkerCacheError::WebServiceWorkerCacheErrorExists:
+ case WebServiceWorkerCacheErrorExists:
return "entry already exists";
default:
ASSERT_NOT_REACHED();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698