Index: webkit/appcache/appcache_interfaces.h |
=================================================================== |
--- webkit/appcache/appcache_interfaces.h (revision 50126) |
+++ webkit/appcache/appcache_interfaces.h (working copy) |
@@ -44,6 +44,12 @@ |
OBSOLETE_EVENT |
}; |
+enum LogLevel { |
+ LOG_INFO, |
+ LOG_WARNING, |
+ LOG_ERROR, |
+}; |
+ |
// Interface used by backend (browser-process) to talk to frontend (renderer). |
class AppCacheFrontend { |
public: |
@@ -57,7 +63,8 @@ |
const GURL& url, |
int num_total, int num_complete) = 0; |
virtual void OnContentBlocked(int host_id) = 0; |
- |
+ virtual void OnLogMessage(int host_id, LogLevel log_level, |
+ const std::string& message) = 0; |
virtual ~AppCacheFrontend() {} |
}; |