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

Unified Diff: content/browser/tracing/power_tracing_agent.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: content/browser/tracing/power_tracing_agent.h
diff --git a/content/browser/tracing/power_tracing_agent.h b/content/browser/tracing/power_tracing_agent.h
index f29918ccabf669fc044c1c7a4e41654f6e511b49..3c897d6753df931394354bfeca13814d668feac0 100644
--- a/content/browser/tracing/power_tracing_agent.h
+++ b/content/browser/tracing/power_tracing_agent.h
@@ -8,8 +8,10 @@
#include "base/memory/ref_counted_memory.h"
#include "base/threading/thread.h"
+namespace base {
template <typename Type>
struct DefaultSingletonTraits;
+} // namespace base
namespace content {
@@ -29,7 +31,7 @@ class PowerTracingAgent {
private:
// This allows constructor and destructor to be private and usable only
// by the Singleton class.
- friend struct DefaultSingletonTraits<PowerTracingAgent>;
+ friend struct base::DefaultSingletonTraits<PowerTracingAgent>;
// Constructor.
PowerTracingAgent();
« no previous file with comments | « content/browser/tracing/etw_system_event_consumer_win.cc ('k') | content/browser/tracing/power_tracing_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698