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

Unified Diff: components/sync/base/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 | « components/sync/base/invalidation_interface.cc ('k') | components/sync/base/logging.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/logging.h
diff --git a/sync/util/logging.h b/components/sync/base/logging.h
similarity index 50%
rename from sync/util/logging.h
rename to components/sync/base/logging.h
index f23d9c16f764ff71f29c1af703d7e2d5043be87d..5dd9d4fbfe2d9b34aaa32422dfd5dc8d1658e82d 100644
--- a/sync/util/logging.h
+++ b/components/sync/base/logging.h
@@ -2,8 +2,8 @@
// 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_
+#ifndef COMPONENTS_SYNC_BASE_LOGGING_H_
+#define COMPONENTS_SYNC_BASE_LOGGING_H_
#include "base/logging.h"
@@ -20,15 +20,15 @@ bool VlogIsOnForLocation(const tracked_objects::Location& from_here,
} // namespace syncer
-#define VLOG_LOC_STREAM(from_here, verbose_level) \
- logging::LogMessage(from_here.file_name(), from_here.line_number(), \
- -verbose_level).stream()
+#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))) \
+#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_
+#endif // COMPONENTS_SYNC_BASE_LOGGING_H_
« no previous file with comments | « components/sync/base/invalidation_interface.cc ('k') | components/sync/base/logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698