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

Unified Diff: bindings/js/JSDOMApplicationCacheCustom.cpp

Issue 113554: For local review prior to sending to webkit (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
Patch Set: '' Created 11 years, 6 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 | bindings/js/JSDOMWindowCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bindings/js/JSDOMApplicationCacheCustom.cpp
===================================================================
--- bindings/js/JSDOMApplicationCacheCustom.cpp (revision 44202)
+++ bindings/js/JSDOMApplicationCacheCustom.cpp (working copy)
@@ -26,7 +26,7 @@
#include "config.h"
#include "JSDOMApplicationCache.h"
-#if ENABLE(OFFLINE_WEB_APPLICATIONS)
+#if ENABLE(OFFLINE_WEB_APPLICATIONS) || ENABLE(APPLICATION_CACHE)
#include "AtomicString.h"
#include "DOMApplicationCache.h"
@@ -64,7 +64,7 @@
}
}
-#if ENABLE(APPLICATION_CACHE_DYNAMIC_ENTRIES)
+#if ENABLE(OFFLINE_WEB_APPLICATIONS) && ENABLE(APPLICATION_CACHE_DYNAMIC_ENTRIES)
JSValue JSDOMApplicationCache::hasItem(ExecState* exec, const ArgList& args)
{
@@ -105,7 +105,7 @@
return jsUndefined();
}
-#endif // ENABLE(APPLICATION_CACHE_DYNAMIC_ENTRIES)
+#endif // ENABLE(OFFLINE_WEB_APPLICATIONS) && ENABLE(APPLICATION_CACHE_DYNAMIC_ENTRIES)
JSValue JSDOMApplicationCache::addEventListener(ExecState* exec, const ArgList& args)
{
@@ -133,4 +133,4 @@
} // namespace WebCore
-#endif // ENABLE(OFFLINE_WEB_APPLICATIONS)
+#endif // ENABLE(OFFLINE_WEB_APPLICATIONS) || ENABLE(APPLICATION_CACHE)
« no previous file with comments | « no previous file | bindings/js/JSDOMWindowCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698