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

Unified Diff: extensions/browser/api/test/test_api.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 5 years, 4 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: extensions/browser/api/test/test_api.h
diff --git a/extensions/browser/api/test/test_api.h b/extensions/browser/api/test/test_api.h
index b35ba32f7d08c653ce7a779c423a5238a1041a26..358b4832de1c079ddf46b4aab1dcebb91b37ee72 100644
--- a/extensions/browser/api/test/test_api.h
+++ b/extensions/browser/api/test/test_api.h
@@ -8,9 +8,13 @@
#include "base/values.h"
#include "extensions/browser/extension_function.h"
+namespace base {
+
template <typename T>
struct DefaultSingletonTraits;
+} // namespace base
+
namespace extensions {
// A function that is only available in tests.
@@ -100,7 +104,7 @@ class TestGetConfigFunction : public TestExtensionFunction {
const base::DictionaryValue* config_state() { return config_state_; }
private:
- friend struct DefaultSingletonTraits<TestConfigState>;
+ friend struct base::DefaultSingletonTraits<TestConfigState>;
TestConfigState();
base::DictionaryValue* config_state_;

Powered by Google App Engine
This is Rietveld 408576698