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

Unified Diff: ios/chrome/browser/downstream_chromium_browser_provider.mm

Issue 2591823003: Remove ChromeBrowserProvider::RegisterProfilePrefs(). (Closed)
Patch Set: Fix multiple registration of preferences. Created 4 years 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 | « ios/chrome/browser/downstream_chromium_browser_provider.h ('k') | ios/chrome/browser/prefs/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/downstream_chromium_browser_provider.mm
diff --git a/ios/chrome/browser/downstream_chromium_browser_provider.mm b/ios/chrome/browser/downstream_chromium_browser_provider.mm
index 2e4b3aa59e5ef60b87f5cdac8da2cdecb816f4fe..055b451807e65b74cf066a4dc5c13e723c76662f 100644
--- a/ios/chrome/browser/downstream_chromium_browser_provider.mm
+++ b/ios/chrome/browser/downstream_chromium_browser_provider.mm
@@ -10,12 +10,9 @@
#include <string>
#include "base/memory/ptr_util.h"
-#import "components/handoff/handoff_manager.h"
#include "ios/chrome/browser/sessions/tab_restore_service_delegate_provider_impl.h"
#include "ios/chrome/browser/tabs/tab_model_synced_window_delegate_getter.h"
#include "ios/chrome/browser/ui/autofill/card_unmask_prompt_view_bridge.h"
-#import "ios/chrome/browser/ui/bookmarks/bookmark_interaction_controller.h"
-#import "ios/chrome/browser/ui/bookmarks/bookmark_promo_controller.h"
#import "ios/chrome/browser/ui/browser_list_ios.h"
#include "ios/chrome/browser/ui/webui/chrome_web_ui_ios_controller_factory.h"
#import "ios/chrome/common/material_timing.h"
@@ -27,13 +24,6 @@ DownstreamChromiumBrowserProvider::DownstreamChromiumBrowserProvider()
DownstreamChromiumBrowserProvider::~DownstreamChromiumBrowserProvider() {}
-void DownstreamChromiumBrowserProvider::RegisterProfilePrefs(
- user_prefs::PrefRegistrySyncable* registry) {
- [BookmarkInteractionController registerBrowserStatePrefs:registry];
- [BookmarkPromoController registerBrowserStatePrefs:registry];
- [HandoffManager registerBrowserStatePrefs:registry];
-}
-
ios::LiveTabContextProvider*
DownstreamChromiumBrowserProvider::GetLiveTabContextProvider() {
return tab_restore_service_delegate_provider_.get();
« no previous file with comments | « ios/chrome/browser/downstream_chromium_browser_provider.h ('k') | ios/chrome/browser/prefs/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698