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

Unified Diff: Source/core/events/ApplicationCacheErrorEvent.cpp

Issue 1115553002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 8 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 | « Source/core/events/ApplicationCacheErrorEvent.h ('k') | Source/core/fetch/FontResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/ApplicationCacheErrorEvent.cpp
diff --git a/Source/core/events/ApplicationCacheErrorEvent.cpp b/Source/core/events/ApplicationCacheErrorEvent.cpp
index d9754b8bb4531e98f8472e10f7ef1cec29184f7d..cf247812e6706587c3a84a57f68c57ec830ae192 100644
--- a/Source/core/events/ApplicationCacheErrorEvent.cpp
+++ b/Source/core/events/ApplicationCacheErrorEvent.cpp
@@ -7,7 +7,7 @@
namespace blink {
-static const String& errorReasonToString(blink::WebApplicationCacheHost::ErrorReason reason)
+static const String& errorReasonToString(WebApplicationCacheHost::ErrorReason reason)
{
DEFINE_STATIC_LOCAL(String, errorManifest, ("manifest"));
DEFINE_STATIC_LOCAL(String, errorSignature, ("signature"));
@@ -19,21 +19,21 @@ static const String& errorReasonToString(blink::WebApplicationCacheHost::ErrorRe
DEFINE_STATIC_LOCAL(String, errorUnknown, ("unknown"));
switch (reason) {
- case blink::WebApplicationCacheHost::ManifestError:
+ case WebApplicationCacheHost::ManifestError:
return errorManifest;
- case blink::WebApplicationCacheHost::SignatureError:
+ case WebApplicationCacheHost::SignatureError:
return errorSignature;
- case blink::WebApplicationCacheHost::ResourceError:
+ case WebApplicationCacheHost::ResourceError:
return errorResource;
- case blink::WebApplicationCacheHost::ChangedError:
+ case WebApplicationCacheHost::ChangedError:
return errorChanged;
- case blink::WebApplicationCacheHost::AbortError:
+ case WebApplicationCacheHost::AbortError:
return errorAbort;
- case blink::WebApplicationCacheHost::QuotaError:
+ case WebApplicationCacheHost::QuotaError:
return errorQuota;
- case blink::WebApplicationCacheHost::PolicyError:
+ case WebApplicationCacheHost::PolicyError:
return errorPolicy;
- case blink::WebApplicationCacheHost::UnknownError:
+ case WebApplicationCacheHost::UnknownError:
return errorUnknown;
}
ASSERT_NOT_REACHED();
@@ -44,7 +44,7 @@ ApplicationCacheErrorEvent::ApplicationCacheErrorEvent()
{
}
-ApplicationCacheErrorEvent::ApplicationCacheErrorEvent(blink::WebApplicationCacheHost::ErrorReason reason, const String& url, int status, const String& message)
+ApplicationCacheErrorEvent::ApplicationCacheErrorEvent(WebApplicationCacheHost::ErrorReason reason, const String& url, int status, const String& message)
: Event(EventTypeNames::error, false, false)
, m_reason(errorReasonToString(reason))
, m_url(url)
« no previous file with comments | « Source/core/events/ApplicationCacheErrorEvent.h ('k') | Source/core/fetch/FontResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698