Index: chrome/browser/extensions/extension_webrequest_api.h |
diff --git a/chrome/browser/extensions/extension_webrequest_api.h b/chrome/browser/extensions/extension_webrequest_api.h |
index cb58b48db725daeaae4b28dbc89ffe1a549bbbc7..f44d5b72e4bd7d341abffd354c6d2eda7e256573 100644 |
--- a/chrome/browser/extensions/extension_webrequest_api.h |
+++ b/chrome/browser/extensions/extension_webrequest_api.h |
@@ -22,6 +22,7 @@ |
#include "webkit/glue/resource_type.h" |
class ExtensionInfoMap; |
+class ExtensionWebRequestTimeTracker; |
class GURL; |
namespace base { |
@@ -301,6 +302,7 @@ class ExtensionWebRequestEventRouter { |
// method assumes ownership. |
void DecrementBlockCount( |
void* profile, |
+ const std::string& extension_id, |
const std::string& event_name, |
uint64 request_id, |
EventResponse* response); |
@@ -349,6 +351,10 @@ class ExtensionWebRequestEventRouter { |
// versa). |
CrossProfileMap cross_profile_map_; |
+ // Keeps track of time spent waiting on extensions using the blocking |
+ // webRequest API. |
+ scoped_ptr<ExtensionWebRequestTimeTracker> request_time_tracker_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ExtensionWebRequestEventRouter); |
}; |