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

Unified Diff: content/common/sandbox_policy.cc

Issue 8416055: Convert some non-debug logging on content/common to debug logging. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « content/common/sandbox_mac.mm ('k') | content/common/socket_stream_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_policy.cc
===================================================================
--- content/common/sandbox_policy.cc (revision 107816)
+++ content/common/sandbox_policy.cc (working copy)
@@ -198,7 +198,7 @@
}
}
policy->AddDllToUnload(module_name);
- VLOG(1) << "dll to unload found: " << module_name;
+ DVLOG(1) << "dll to unload found: " << module_name;
return;
}
@@ -374,8 +374,8 @@
void InitBrokerServices(sandbox::BrokerServices* broker_services) {
// TODO(abarth): DCHECK(CalledOnValidThread());
// See <http://b/1287166>.
- CHECK(broker_services);
- CHECK(!g_broker_services);
+ DCHECK(broker_services);
+ DCHECK(!g_broker_services);
broker_services->Init();
g_broker_services = broker_services;
}
@@ -420,7 +420,7 @@
if ((type == ChildProcessInfo::GPU_PROCESS) &&
(browser_command_line.HasSwitch(switches::kDisableGpuSandbox))) {
in_sandbox = false;
- VLOG(1) << "GPU sandbox is disabled";
+ DVLOG(1) << "GPU sandbox is disabled";
}
if (browser_command_line.HasSwitch(switches::kNoSandbox) ||
@@ -532,7 +532,7 @@
TRACE_EVENT_END_ETW("StartProcessWithAccess::LAUNCHPROCESS", 0, 0);
if (sandbox::SBOX_ALL_OK != result) {
- LOG(ERROR) << "Failed to launch process. Error: " << result;
+ DLOG(ERROR) << "Failed to launch process. Error: " << result;
return 0;
}
« no previous file with comments | « content/common/sandbox_mac.mm ('k') | content/common/socket_stream_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698