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

Unified Diff: chrome/common/mac/cfbundle_blocker.mm

Issue 8477018: Pull back some CHECK calls which were removed. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: comment tweak Created 9 years, 1 month 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/common/important_file_writer.cc ('k') | chrome/common/multi_process_lock_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/mac/cfbundle_blocker.mm
diff --git a/chrome/common/mac/cfbundle_blocker.mm b/chrome/common/mac/cfbundle_blocker.mm
index c4c29f29db795a40a26847acdb08bfea07f59b3e..3dbc34f90f1973245d44612d45150ae041113010 100644
--- a/chrome/common/mac/cfbundle_blocker.mm
+++ b/chrome/common/mac/cfbundle_blocker.mm
@@ -175,12 +175,14 @@ Boolean ChromeCFBundleLoadExecutableAndReturnError(CFBundleRef bundle,
NSString* bundle_id_print = bundle_id ? bundle_id : @"(nil)";
NSString* version_print = version ? version : @"(nil)";
- DLOG(INFO) << "Blocking attempt to load bundle "
- << [bundle_id_print UTF8String]
- << " version "
- << [version_print UTF8String]
- << " at "
- << [path fileSystemRepresentation];
+ // Provide a hint for the user (or module developer) to figure out
+ // that the bundle was blocked.
+ LOG(INFO) << "Blocking attempt to load bundle "
+ << [bundle_id_print UTF8String]
+ << " version "
+ << [version_print UTF8String]
+ << " at "
+ << [path fileSystemRepresentation];
if (error) {
base::mac::ScopedCFTypeRef<CFStringRef> app_bundle_id(
« no previous file with comments | « chrome/common/important_file_writer.cc ('k') | chrome/common/multi_process_lock_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698