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

Unified Diff: Source/core/loader/appcache/ApplicationCache.h

Issue 22802012: Rename DOMApplicationCache to ApplicationCache and expose it to JS (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove change to devtools and fix nits Created 7 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 | « Source/core/loader/DocumentLoader.cpp ('k') | Source/core/loader/appcache/ApplicationCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/appcache/ApplicationCache.h
diff --git a/Source/core/loader/appcache/DOMApplicationCache.h b/Source/core/loader/appcache/ApplicationCache.h
similarity index 83%
rename from Source/core/loader/appcache/DOMApplicationCache.h
rename to Source/core/loader/appcache/ApplicationCache.h
index ee7d452046920879fb70e9e980d78f53368f2e73..680f9c4145d5e3d962cab09f36c10b5752ba2d25 100644
--- a/Source/core/loader/appcache/DOMApplicationCache.h
+++ b/Source/core/loader/appcache/ApplicationCache.h
@@ -23,8 +23,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DOMApplicationCache_h
-#define DOMApplicationCache_h
+#ifndef ApplicationCache_h
+#define ApplicationCache_h
#include "bindings/v8/ScriptWrappable.h"
#include "core/dom/EventNames.h"
@@ -41,10 +41,10 @@ class ExceptionState;
class Frame;
class KURL;
-class DOMApplicationCache : public ScriptWrappable, public RefCounted<DOMApplicationCache>, public EventTarget, public DOMWindowProperty {
+class ApplicationCache : public ScriptWrappable, public RefCounted<ApplicationCache>, public EventTarget, public DOMWindowProperty {
public:
- static PassRefPtr<DOMApplicationCache> create(Frame* frame) { return adoptRef(new DOMApplicationCache(frame)); }
- ~DOMApplicationCache() { ASSERT(!m_frame); }
+ static PassRefPtr<ApplicationCache> create(Frame* frame) { return adoptRef(new ApplicationCache(frame)); }
+ ~ApplicationCache() { ASSERT(!m_frame); }
virtual void willDestroyGlobalObjectInFrame() OVERRIDE;
@@ -55,8 +55,8 @@ public:
// EventTarget impl
- using RefCounted<DOMApplicationCache>::ref;
- using RefCounted<DOMApplicationCache>::deref;
+ using RefCounted<ApplicationCache>::ref;
+ using RefCounted<ApplicationCache>::deref;
// Explicitly named attribute event listener helpers
@@ -72,10 +72,10 @@ public:
virtual const AtomicString& interfaceName() const;
virtual ScriptExecutionContext* scriptExecutionContext() const;
- static const AtomicString& toEventType(ApplicationCacheHost::EventID id);
+ static const AtomicString& toEventType(ApplicationCacheHost::EventID);
private:
- explicit DOMApplicationCache(Frame*);
+ explicit ApplicationCache(Frame*);
virtual void refEventTarget() { ref(); }
virtual void derefEventTarget() { deref(); }
@@ -89,4 +89,4 @@ private:
} // namespace WebCore
-#endif // DOMApplicationCache_h
+#endif // ApplicationCache_h
« no previous file with comments | « Source/core/loader/DocumentLoader.cpp ('k') | Source/core/loader/appcache/ApplicationCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698