summaryrefslogtreecommitdiffstats
path: root/components/syncable_prefs/pref_service_mock_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/syncable_prefs/pref_service_mock_factory.h')
-rw-r--r--components/syncable_prefs/pref_service_mock_factory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/syncable_prefs/pref_service_mock_factory.h b/components/syncable_prefs/pref_service_mock_factory.h
index 0ea6e10..f5b5d32 100644
--- a/components/syncable_prefs/pref_service_mock_factory.h
+++ b/components/syncable_prefs/pref_service_mock_factory.h
@@ -7,6 +7,8 @@
#include "components/syncable_prefs/pref_service_syncable_factory.h"
+namespace syncable_prefs {
+
// A helper that allows convenient building of custom PrefServices in tests.
class PrefServiceMockFactory : public PrefServiceSyncableFactory {
public:
@@ -17,4 +19,6 @@ class PrefServiceMockFactory : public PrefServiceSyncableFactory {
DISALLOW_COPY_AND_ASSIGN(PrefServiceMockFactory);
};
+} // namespace syncable_prefs
+
#endif // COMPONENTS_SYNCABLE_PREFS_PREF_SERVICE_MOCK_FACTORY_H_