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

Unified Diff: chrome/browser/permissions/permission_context_base.cc

Issue 2646033003: DevTools: streamline console logging levels, migrate 'log' to 'info' level, 'debug' to 'verbose' le… (Closed)
Patch Set: missing rebaseline Created 3 years, 11 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 | « chrome/browser/installable/installable_logging.cc ('k') | chrome/browser/ssl/ssl_error_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/permissions/permission_context_base.cc
diff --git a/chrome/browser/permissions/permission_context_base.cc b/chrome/browser/permissions/permission_context_base.cc
index f634e2625b8e3f6b349056925297f43d5d334188..a282bf365c6cc636c417b0ec88f68fe2753ea49e 100644
--- a/chrome/browser/permissions/permission_context_base.cc
+++ b/chrome/browser/permissions/permission_context_base.cc
@@ -86,7 +86,7 @@ void PermissionContextBase::RequestPermission(
if (IsPermissionKillSwitchOn()) {
// Log to the developer console.
web_contents->GetMainFrame()->AddMessageToConsole(
- content::CONSOLE_MESSAGE_LEVEL_LOG,
+ content::CONSOLE_MESSAGE_LEVEL_INFO,
base::StringPrintf(
"%s permission has been blocked.",
PermissionUtil::GetPermissionString(permission_type_).c_str()));
@@ -161,7 +161,7 @@ void PermissionContextBase::ContinueRequestPermission(
if (permission_blocked) {
// TODO(meredithl): Add UMA metrics here.
web_contents->GetMainFrame()->AddMessageToConsole(
- content::CONSOLE_MESSAGE_LEVEL_LOG,
+ content::CONSOLE_MESSAGE_LEVEL_INFO,
base::StringPrintf(
"%s permission has been auto-blocked.",
PermissionUtil::GetPermissionString(permission_type_).c_str()));
« no previous file with comments | « chrome/browser/installable/installable_logging.cc ('k') | chrome/browser/ssl/ssl_error_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698