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

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

Issue 7190001: [Sync] Split DirectoryChangeListener for thread-safety (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix copyright Created 9 years, 6 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 | « chrome/browser/sync/util/logging.h ('k') | chrome/chrome.gyp » ('j') | 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
new file mode 100644
index 0000000000000000000000000000000000000000..2951f8ccaa6d39a61ac99269795222201cc212cc
--- /dev/null
+++ b/chrome/browser/sync/util/logging.cc
@@ -0,0 +1,18 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/sync/util/logging.h"
+
+#include "base/tracked.h"
+
+namespace browser_sync {
+
+bool VlogIsOnForLocation(const tracked_objects::Location& from_here,
+ int verbose_level) {
+ return (verbose_level <=
+ logging::GetVlogLevelHelper(
+ from_here.file_name(), ::strlen(from_here.file_name())));
+}
+
+} // namespace browser_sync
« no previous file with comments | « chrome/browser/sync/util/logging.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698