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

Unified Diff: chrome/browser/sync/util/logging.h

Issue 7778033: Add trace code to track all posted tasks in message_loop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/sync/util/logging.h
diff --git a/chrome/browser/sync/util/logging.h b/chrome/browser/sync/util/logging.h
index b28efa2cf1790799c7d0819dca64f937b8c4f5b3..38b146617127d2e5027969b942de009cb770a2d1 100644
--- a/chrome/browser/sync/util/logging.h
+++ b/chrome/browser/sync/util/logging.h
@@ -22,7 +22,8 @@ bool VlogIsOnForLocation(const tracked_objects::Location& from_here,
} // namespace browser_sync
#define VLOG_LOC_STREAM(from_here, verbose_level) \
- logging::LogMessage(from_here.file_name(), from_here.line_number(), \
+ logging::LogMessage(from_here.file_name().as_string().c_str(), \
jar (doing other things) 2011/09/01 18:17:51 I'm not clear on how often this logging is done...
jbates 2011/09/01 23:01:52 I agree if this is common we should add StringPiec
+ from_here.line_number(), \
-verbose_level).stream()
#define VLOG_LOC(from_here, verbose_level) \

Powered by Google App Engine
This is Rietveld 408576698