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

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry_factory.h

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/custom_handlers/protocol_handler_registry_factory.h
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_factory.h b/chrome/browser/custom_handlers/protocol_handler_registry_factory.h
index 2002de38f92f11fcc64ee5ee38b7e1dfb3395018..fc38b59a487b9151b96b9d96eb58a1f9c036bc85 100644
--- a/chrome/browser/custom_handlers/protocol_handler_registry_factory.h
+++ b/chrome/browser/custom_handlers/protocol_handler_registry_factory.h
@@ -11,7 +11,10 @@
class Profile;
class ProtocolHandlerRegistry;
+
+namespace base {
template <typename T> struct DefaultSingletonTraits;
+}
// Singleton that owns all ProtocolHandlerRegistrys and associates them with
// Profiles. Listens for the Profile's destruction notification and cleans up
@@ -35,7 +38,7 @@ class ProtocolHandlerRegistryFactory
bool ServiceIsNULLWhileTesting() const override;
private:
- friend struct DefaultSingletonTraits<ProtocolHandlerRegistryFactory>;
+ friend struct base::DefaultSingletonTraits<ProtocolHandlerRegistryFactory>;
ProtocolHandlerRegistryFactory();
~ProtocolHandlerRegistryFactory() override;

Powered by Google App Engine
This is Rietveld 408576698