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

Unified Diff: webkit/appcache/appcache_interfaces.h

Issue 2861007: AppCache: add plumbing to deliver logging messages to renderer process. These... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | « webkit/appcache/appcache_host_unittest.cc ('k') | webkit/appcache/appcache_request_handler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
};
« no previous file with comments | « webkit/appcache/appcache_host_unittest.cc ('k') | webkit/appcache/appcache_request_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698