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

Unified Diff: chrome/browser/android/preferences/browser_prefs_android.cc

Issue 2349073002: Blimp Settings framework on the c++ side (Closed)
Patch Set: nits and sync to head Created 4 years, 2 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/android/preferences/browser_prefs_android.cc
diff --git a/chrome/browser/android/preferences/browser_prefs_android.cc b/chrome/browser/android/preferences/browser_prefs_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..77cd95a64222a25e480fbe871fa70e08a924d8be
--- /dev/null
+++ b/chrome/browser/android/preferences/browser_prefs_android.cc
@@ -0,0 +1,21 @@
+// Copyright 2016 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.
+
+#include "chrome/browser/android/preferences/browser_prefs_android.h"
+
+#include "blimp/client/public/blimp_client_context.h"
+#include "chrome/browser/notifications/notification_platform_bridge_android.h"
+#include "components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.h"
+#include "components/pref_registry/pref_registry_syncable.h"
+#include "components/prefs/pref_registry_simple.h"
+
+namespace android {
+
+void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
+ NotificationPlatformBridgeAndroid::RegisterProfilePrefs(registry);
+ ntp_snippets::RecentTabSuggestionsProvider::RegisterProfilePrefs(registry);
+ blimp::client::BlimpClientContext::RegisterPrefs(registry);
+}
+
+} // namespace android

Powered by Google App Engine
This is Rietveld 408576698