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

Unified Diff: chrome/browser/extensions/activity_log/activity_log.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
Index: chrome/browser/extensions/activity_log/activity_log.cc
diff --git a/chrome/browser/extensions/activity_log/activity_log.cc b/chrome/browser/extensions/activity_log/activity_log.cc
index db15fd30751bded06568de9827a284491c7774ee..346623c9c96154c9383d817bb7f09cce149e18b7 100644
--- a/chrome/browser/extensions/activity_log/activity_log.cc
+++ b/chrome/browser/extensions/activity_log/activity_log.cc
@@ -154,7 +154,7 @@ static const ApiInfo kApiInfoTable[] = {
class ApiInfoDatabase {
public:
static ApiInfoDatabase* GetInstance() {
- return Singleton<ApiInfoDatabase>::get();
+ return base::Singleton<ApiInfoDatabase>::get();
}
// Retrieves an ApiInfo record for the given Action type. Returns either a
@@ -184,7 +184,7 @@ class ApiInfoDatabase {
// should still be checked before returning a positive match.
std::map<std::string, const ApiInfo*> api_database_;
- friend struct DefaultSingletonTraits<ApiInfoDatabase>;
+ friend struct base::DefaultSingletonTraits<ApiInfoDatabase>;
DISALLOW_COPY_AND_ASSIGN(ApiInfoDatabase);
};

Powered by Google App Engine
This is Rietveld 408576698