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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« base/tracked.cc ('K') | « chrome/browser/sync/util/logging.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/util/logging.h" 5 #include "chrome/browser/sync/util/logging.h"
6 6
7 #include "base/tracked.h" 7 #include "base/tracked.h"
8 8
9 namespace browser_sync { 9 namespace browser_sync {
10 10
11 bool VlogIsOnForLocation(const tracked_objects::Location& from_here, 11 bool VlogIsOnForLocation(const tracked_objects::Location& from_here,
12 int verbose_level) { 12 int verbose_level) {
13 const base::StringPiece& file = from_here.file_name();
13 return (verbose_level <= 14 return (verbose_level <=
14 logging::GetVlogLevelHelper( 15 logging::GetVlogLevelHelper(
15 from_here.file_name(), ::strlen(from_here.file_name()))); 16 file.data(), file.size() + 1));
16 } 17 }
17 18
18 } // namespace browser_sync 19 } // namespace browser_sync
OLDNEW
« 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