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

Unified Diff: third_party/leveldatabase/port/port_chromium.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 | « third_party/leveldatabase/env_chromium.cc ('k') | third_party/leveldatabase/port/port_chromium.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/leveldatabase/port/port_chromium.h
diff --git a/third_party/leveldatabase/port/port_chromium.h b/third_party/leveldatabase/port/port_chromium.h
index bc6ec5f0c6a545d683b19479a241980bfadc0820..4a4a29af7bd0f6a8491cf117f384f0dd490bf290 100644
--- a/third_party/leveldatabase/port/port_chromium.h
+++ b/third_party/leveldatabase/port/port_chromium.h
@@ -71,22 +71,22 @@ class AtomicPointer {
AtomicPointer() { }
explicit AtomicPointer(void* p) : rep_(reinterpret_cast<Rep>(p)) {}
inline void* Acquire_Load() const {
- return reinterpret_cast<void*>(::base::subtle::Acquire_Load(&rep_));
+ return reinterpret_cast<void*>(base::subtle::Acquire_Load(&rep_));
}
inline void Release_Store(void* v) {
- ::base::subtle::Release_Store(&rep_, reinterpret_cast<Rep>(v));
+ base::subtle::Release_Store(&rep_, reinterpret_cast<Rep>(v));
}
inline void* NoBarrier_Load() const {
- return reinterpret_cast<void*>(::base::subtle::NoBarrier_Load(&rep_));
+ return reinterpret_cast<void*>(base::subtle::NoBarrier_Load(&rep_));
}
inline void NoBarrier_Store(void* v) {
- ::base::subtle::NoBarrier_Store(&rep_, reinterpret_cast<Rep>(v));
+ base::subtle::NoBarrier_Store(&rep_, reinterpret_cast<Rep>(v));
}
};
// Implementation of OnceType and InitOnce() pair, this is equivalent to
// pthread_once_t and pthread_once().
-typedef ::base::subtle::Atomic32 OnceType;
+typedef base::subtle::Atomic32 OnceType;
enum {
ONCE_STATE_UNINITIALIZED = 0,
@@ -100,7 +100,7 @@ enum {
void InitOnceImpl(OnceType* once, void (*initializer)());
static inline void InitOnce(OnceType* once, void (*initializer)()) {
- if (::base::subtle::Acquire_Load(once) != ONCE_STATE_DONE)
+ if (base::subtle::Acquire_Load(once) != ONCE_STATE_DONE)
InitOnceImpl(once, initializer);
}
« no previous file with comments | « third_party/leveldatabase/env_chromium.cc ('k') | third_party/leveldatabase/port/port_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698