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) |