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

Unified Diff: chrome/browser/extensions/api/web_request/web_request_api.cc

Issue 18430004: Sets correct ActivityLog enabled status to the first renderer process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 4 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
Index: chrome/browser/extensions/api/web_request/web_request_api.cc
diff --git a/chrome/browser/extensions/api/web_request/web_request_api.cc b/chrome/browser/extensions/api/web_request/web_request_api.cc
index 478c99022708e497e6411d7d776bb8fcbe4dabd6..95146747bd46915d7f2409acae7b38ac2916f996 100644
--- a/chrome/browser/extensions/api/web_request/web_request_api.cc
+++ b/chrome/browser/extensions/api/web_request/web_request_api.cc
@@ -1672,7 +1672,7 @@ void ExtensionWebRequestEventRouter::DecrementBlockCount(
helpers::EventResponseDelta* delta =
CalculateDelta(&blocked_request, response);
- if (extensions::ActivityLog::IsLogEnabledOnAnyProfile()) {
+ if (extensions::ActivityLog::MaybeLogEnabled()) {
felt 2013/08/08 17:49:24 You might as well keep the old name (IsLogEnabledO
pmarch 2013/08/12 20:43:53 Done.
LogExtensionActivity(profile,
blocked_request.is_incognito,
extension_id,

Powered by Google App Engine
This is Rietveld 408576698