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

Unified Diff: chrome/browser/prefs/chrome_pref_model_associator_client.h

Issue 1326353002: Remove dependency of PrefSyncableService on Profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pref_model_associator
Patch Set: Move files back to //chrome/browser/prefs & //chrome/test/base 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: chrome/browser/prefs/chrome_pref_model_associator_client.h
diff --git a/chrome/browser/prefs/chrome_pref_model_associator_client.h b/chrome/browser/prefs/chrome_pref_model_associator_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..06ba696eb7642728d7f0f2d187a027ccbb290713
--- /dev/null
+++ b/chrome/browser/prefs/chrome_pref_model_associator_client.h
@@ -0,0 +1,22 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_PREFS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_
+#define CHROME_BROWSER_PREFS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_
+
+#include "base/macros.h"
+#include "chrome/browser/prefs/pref_model_associator_client.h"
+
+class ChromePrefModelAssociatorClient : public PrefModelAssociatorClient {
+ public:
+ ChromePrefModelAssociatorClient();
+ ~ChromePrefModelAssociatorClient() override;
+
+ // Returns the global instance.
+ static ChromePrefModelAssociatorClient* GetInstance();
+
+ DISALLOW_COPY_AND_ASSIGN(ChromePrefModelAssociatorClient);
+};
+
+#endif // CHROME_BROWSER_PREFS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698