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

Unified Diff: sync/util/logging.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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 | « sync/util/get_session_name_win.cc ('k') | sync/util/logging.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/util/logging.h
diff --git a/sync/util/logging.h b/sync/util/logging.h
deleted file mode 100644
index f23d9c16f764ff71f29c1af703d7e2d5043be87d..0000000000000000000000000000000000000000
--- a/sync/util/logging.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef SYNC_UTIL_LOGGING_H_
-#define SYNC_UTIL_LOGGING_H_
-
-#include "base/logging.h"
-
-// TODO(akalin): This probably belongs in base/ somewhere.
-
-namespace tracked_objects {
-class Location;
-} // namespace tracked_objects
-
-namespace syncer {
-
-bool VlogIsOnForLocation(const tracked_objects::Location& from_here,
- int verbose_level);
-
-} // namespace syncer
-
-#define VLOG_LOC_STREAM(from_here, verbose_level) \
- logging::LogMessage(from_here.file_name(), from_here.line_number(), \
- -verbose_level).stream()
-
-#define DVLOG_LOC(from_here, verbose_level) \
- LAZY_STREAM( \
- VLOG_LOC_STREAM(from_here, verbose_level), \
- ::logging::DEBUG_MODE && \
- (VLOG_IS_ON(verbose_level) || \
- ::syncer::VlogIsOnForLocation(from_here, verbose_level))) \
-
-#endif // SYNC_UTIL_LOGGING_H_
« no previous file with comments | « sync/util/get_session_name_win.cc ('k') | sync/util/logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698