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

Unified Diff: extensions/browser/extension_function.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 | « extensions/browser/event_router_factory.cc ('k') | extensions/browser/extension_function_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_function.cc
diff --git a/extensions/browser/extension_function.cc b/extensions/browser/extension_function.cc
index f9a7d3f0e59c2440e08642e2d775a9849e5bf55d..83747f89892e5974b5e2f0e48e0841a07042c950 100644
--- a/extensions/browser/extension_function.cc
+++ b/extensions/browser/extension_function.cc
@@ -141,7 +141,7 @@ class UserGestureForTests {
private:
UserGestureForTests();
- friend struct DefaultSingletonTraits<UserGestureForTests>;
+ friend struct base::DefaultSingletonTraits<UserGestureForTests>;
base::Lock lock_; // for protecting access to count_
int count_;
@@ -149,7 +149,7 @@ class UserGestureForTests {
// static
UserGestureForTests* UserGestureForTests::GetInstance() {
- return Singleton<UserGestureForTests>::get();
+ return base::Singleton<UserGestureForTests>::get();
}
UserGestureForTests::UserGestureForTests() : count_(0) {}
« no previous file with comments | « extensions/browser/event_router_factory.cc ('k') | extensions/browser/extension_function_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698