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

Unified Diff: components/syncable_prefs/pref_service_mock_factory.h

Issue 1305213009: Componentize PrefSyncableService and support classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pref_service_syncable
Patch Set: Add missing dependency on //sync:test_support_sync_api for unit tests with gn 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: components/syncable_prefs/pref_service_mock_factory.h
diff --git a/chrome/browser/prefs/pref_service_mock_factory.h b/components/syncable_prefs/pref_service_mock_factory.h
similarity index 63%
rename from chrome/browser/prefs/pref_service_mock_factory.h
rename to components/syncable_prefs/pref_service_mock_factory.h
index ab9bc26243e3e0f6cbc73b2c2e27e9b961c4deea..0ea6e10f4fc456d627b71c32f821cb8f43cd6f20 100644
--- a/chrome/browser/prefs/pref_service_mock_factory.h
+++ b/components/syncable_prefs/pref_service_mock_factory.h
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_PREFS_PREF_SERVICE_MOCK_FACTORY_H_
-#define CHROME_BROWSER_PREFS_PREF_SERVICE_MOCK_FACTORY_H_
+#ifndef COMPONENTS_SYNCABLE_PREFS_PREF_SERVICE_MOCK_FACTORY_H_
+#define COMPONENTS_SYNCABLE_PREFS_PREF_SERVICE_MOCK_FACTORY_H_
-#include "chrome/browser/prefs/pref_service_syncable_factory.h"
+#include "components/syncable_prefs/pref_service_syncable_factory.h"
// A helper that allows convenient building of custom PrefServices in tests.
class PrefServiceMockFactory : public PrefServiceSyncableFactory {
@@ -17,4 +17,4 @@ class PrefServiceMockFactory : public PrefServiceSyncableFactory {
DISALLOW_COPY_AND_ASSIGN(PrefServiceMockFactory);
};
-#endif // CHROME_BROWSER_PREFS_PREF_SERVICE_MOCK_FACTORY_H_
+#endif // COMPONENTS_SYNCABLE_PREFS_PREF_SERVICE_MOCK_FACTORY_H_
« no previous file with comments | « components/syncable_prefs/pref_model_associator_unittest.cc ('k') | components/syncable_prefs/pref_service_mock_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698