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

Unified Diff: third_party/leveldatabase/chromium_logger.h

Issue 800783003: LevelDB: Removed global prefix from base namespace: "::base" -> "base" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some git cl format changes. Created 6 years 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 | « no previous file | third_party/leveldatabase/env_chromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/leveldatabase/chromium_logger.h
diff --git a/third_party/leveldatabase/chromium_logger.h b/third_party/leveldatabase/chromium_logger.h
index 35fffed08da1f94dea1db2380b69f3f7af95a1bc..933fb5106efb4a2367c3316ff8feec4ac584baa2 100644
--- a/third_party/leveldatabase/chromium_logger.h
+++ b/third_party/leveldatabase/chromium_logger.h
@@ -18,8 +18,7 @@ class ChromiumLogger : public Logger {
explicit ChromiumLogger(base::File* f) : file_(f) {}
virtual ~ChromiumLogger() {}
virtual void Logv(const char* format, va_list ap) {
- const base::PlatformThreadId thread_id =
- ::base::PlatformThread::CurrentId();
+ const base::PlatformThreadId thread_id = base::PlatformThread::CurrentId();
// We try twice: the first time with a fixed-size stack allocated buffer,
// and the second time with a much larger dynamically allocated buffer.
@@ -37,10 +36,10 @@ class ChromiumLogger : public Logger {
char* p = base;
char* limit = base + bufsize;
- ::base::Time::Exploded t;
- ::base::Time::Now().LocalExplode(&t);
+ base::Time::Exploded t;
+ base::Time::Now().LocalExplode(&t);
- p += ::base::snprintf(p, limit - p,
+ p += base::snprintf(p, limit - p,
"%04d/%02d/%02d-%02d:%02d:%02d.%03d %" PRIu64 " ",
t.year,
t.month,
« no previous file with comments | « no previous file | third_party/leveldatabase/env_chromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698