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

Unified Diff: third_party/android_platform/relocation_packer/src/debug.h

Issue 1027823002: Port Android relocation packer to chromium build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
Index: third_party/android_platform/relocation_packer/src/debug.h
diff --git a/tools/relocation_packer/src/debug.h b/third_party/android_platform/relocation_packer/src/debug.h
similarity index 94%
copy from tools/relocation_packer/src/debug.h
copy to third_party/android_platform/relocation_packer/src/debug.h
index 99db94862c5c11df68e53b4bbb4eed9dceb02355..48be6c19b02b9ce50106f1fa2b9db301c391f73b 100644
--- a/tools/relocation_packer/src/debug.h
+++ b/third_party/android_platform/relocation_packer/src/debug.h
@@ -81,10 +81,10 @@ class Logger {
// Make logging severities visible globally.
typedef relocation_packer::Logger::Severity LogSeverity;
-static const LogSeverity INFO = LogSeverity::INFO;
-static const LogSeverity WARNING = LogSeverity::WARNING;
-static const LogSeverity ERROR = LogSeverity::ERROR;
-static const LogSeverity FATAL = LogSeverity::FATAL;
+using LogSeverity::INFO;
+using LogSeverity::WARNING;
+using LogSeverity::ERROR;
+using LogSeverity::FATAL;
// LOG(severity) prints a message with the given severity, and aborts if
// severity is FATAL. LOG_IF(severity, predicate) does the same but only if

Powered by Google App Engine
This is Rietveld 408576698