OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | |
6 #include "core/events/ApplicationCacheErrorEvent.h" | 5 #include "core/events/ApplicationCacheErrorEvent.h" |
7 | 6 |
8 namespace blink { | 7 namespace blink { |
9 | 8 |
10 static const String& errorReasonToString(WebApplicationCacheHost::ErrorReason re
ason) | 9 static const String& errorReasonToString(WebApplicationCacheHost::ErrorReason re
ason) |
11 { | 10 { |
12 DEFINE_STATIC_LOCAL(String, errorManifest, ("manifest")); | 11 DEFINE_STATIC_LOCAL(String, errorManifest, ("manifest")); |
13 DEFINE_STATIC_LOCAL(String, errorSignature, ("signature")); | 12 DEFINE_STATIC_LOCAL(String, errorSignature, ("signature")); |
14 DEFINE_STATIC_LOCAL(String, errorResource, ("resource")); | 13 DEFINE_STATIC_LOCAL(String, errorResource, ("resource")); |
15 DEFINE_STATIC_LOCAL(String, errorChanged, ("changed")); | 14 DEFINE_STATIC_LOCAL(String, errorChanged, ("changed")); |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 ApplicationCacheErrorEvent::~ApplicationCacheErrorEvent() | 69 ApplicationCacheErrorEvent::~ApplicationCacheErrorEvent() |
71 { | 70 { |
72 } | 71 } |
73 | 72 |
74 DEFINE_TRACE(ApplicationCacheErrorEvent) | 73 DEFINE_TRACE(ApplicationCacheErrorEvent) |
75 { | 74 { |
76 Event::trace(visitor); | 75 Event::trace(visitor); |
77 } | 76 } |
78 | 77 |
79 } // namespace blink | 78 } // namespace blink |
OLD | NEW |