summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_interfaces.cc
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 00:46:02 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-25 00:46:02 +0000
commitdf4cd1577cbd126d827a72cb0a15dcbe38a62a8b (patch)
treecdefa81e8266d3198ad9716824addc802a35b6a7 /webkit/appcache/appcache_interfaces.cc
parent2febbc7bc136af7212814e3495c135ec9fa98345 (diff)
downloadchromium_src-df4cd1577cbd126d827a72cb0a15dcbe38a62a8b.zip
chromium_src-df4cd1577cbd126d827a72cb0a15dcbe38a62a8b.tar.gz
chromium_src-df4cd1577cbd126d827a72cb0a15dcbe38a62a8b.tar.bz2
AppCache: Output some information to the javascript console.
BUG=13685 TEST=manual Review URL: http://codereview.chromium.org/2805030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50796 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_interfaces.cc')
-rw-r--r--webkit/appcache/appcache_interfaces.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/webkit/appcache/appcache_interfaces.cc b/webkit/appcache/appcache_interfaces.cc
index b70cadf..a818bb9 100644
--- a/webkit/appcache/appcache_interfaces.cc
+++ b/webkit/appcache/appcache_interfaces.cc
@@ -7,8 +7,10 @@
#include "googleurl/src/gurl.h"
#include "net/url_request/url_request.h"
#include "third_party/WebKit/WebKit/chromium/public/WebApplicationCacheHost.h"
+#include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h"
using WebKit::WebApplicationCacheHost;
+using WebKit::WebConsoleMessage;
namespace appcache {
@@ -74,5 +76,13 @@ COMPILE_ASSERT((int)WebApplicationCacheHost::CachedEvent ==
(int)CACHED_EVENT, CachedEvent);
COMPILE_ASSERT((int)WebApplicationCacheHost::ObsoleteEvent ==
(int)OBSOLETE_EVENT, ObsoleteEvent);
+COMPILE_ASSERT((int)WebConsoleMessage::LevelTip ==
+ (int)LOG_TIP, LevelTip);
+COMPILE_ASSERT((int)WebConsoleMessage::LevelLog ==
+ (int)LOG_INFO, LevelLog);
+COMPILE_ASSERT((int)WebConsoleMessage::LevelWarning ==
+ (int)LOG_WARNING, LevelWarning);
+COMPILE_ASSERT((int)WebConsoleMessage::LevelError ==
+ (int)LOG_ERROR, LevelError);
} // namespace