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

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: 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/api/socket/app_firewall_hole_manager.cc ('k') | extensions/browser/api/test/test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « extensions/browser/api/socket/app_firewall_hole_manager.cc ('k') | extensions/browser/api/test/test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698