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_ |