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

Unified Diff: base/test/test_support_android.cc

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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 | « base/memory/singleton_unittest.cc ('k') | base/threading/thread_id_name_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_support_android.cc
diff --git a/base/test/test_support_android.cc b/base/test/test_support_android.cc
index 11a08715249b3fe97fe4a1a412df00512cd2c5b7..a0f825c813d54ce3c96d0726b4c51116ff383836 100644
--- a/base/test/test_support_android.cc
+++ b/base/test/test_support_android.cc
@@ -39,9 +39,7 @@ RunState* g_state = NULL;
// when there are no pending messages.
class Waitable {
public:
- static Waitable* GetInstance() {
- return Singleton<Waitable>::get();
- }
+ static Waitable* GetInstance() { return base::Singleton<Waitable>::get(); }
// Signals that there are more work to do.
void Signal() {
@@ -59,7 +57,7 @@ class Waitable {
}
private:
- friend struct DefaultSingletonTraits<Waitable>;
+ friend struct base::DefaultSingletonTraits<Waitable>;
Waitable()
: waitable_event_(false, false) {
« no previous file with comments | « base/memory/singleton_unittest.cc ('k') | base/threading/thread_id_name_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698