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

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

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: win trace tests Created 9 years, 3 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
« base/tracked.cc ('K') | « chrome/browser/sync/util/logging.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/util/logging.cc
diff --git a/chrome/browser/sync/util/logging.cc b/chrome/browser/sync/util/logging.cc
index 2951f8ccaa6d39a61ac99269795222201cc212cc..962fe43f6b313addd1126e63ea91feb071dbb4ae 100644
--- a/chrome/browser/sync/util/logging.cc
+++ b/chrome/browser/sync/util/logging.cc
@@ -10,9 +10,10 @@ namespace browser_sync {
bool VlogIsOnForLocation(const tracked_objects::Location& from_here,
int verbose_level) {
+ const base::StringPiece& file = from_here.file_name();
return (verbose_level <=
logging::GetVlogLevelHelper(
- from_here.file_name(), ::strlen(from_here.file_name())));
+ file.data(), file.size() + 1));
}
} // namespace browser_sync
« base/tracked.cc ('K') | « chrome/browser/sync/util/logging.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698