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

Side by Side Diff: ios/public/provider/chrome/browser/chrome_browser_provider.mm

Issue 2591823003: Remove ChromeBrowserProvider::RegisterProfilePrefs(). (Closed)
Patch Set: Fix multiple registration of preferences. Created 3 years, 12 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 unified diff | Download patch
« no previous file with comments | « ios/public/provider/chrome/browser/chrome_browser_provider.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h" 5 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "components/metrics/metrics_provider.h" 10 #include "components/metrics/metrics_provider.h"
(...skipping 16 matching lines...) Expand all
27 // A dummy implementation of ChromeBrowserProvider. 27 // A dummy implementation of ChromeBrowserProvider.
28 28
29 ChromeBrowserProvider::ChromeBrowserProvider() {} 29 ChromeBrowserProvider::ChromeBrowserProvider() {}
30 30
31 ChromeBrowserProvider::~ChromeBrowserProvider() {} 31 ChromeBrowserProvider::~ChromeBrowserProvider() {}
32 32
33 void ChromeBrowserProvider::Initialize() const {} 33 void ChromeBrowserProvider::Initialize() const {}
34 34
35 void ChromeBrowserProvider::AssertBrowserContextKeyedFactoriesBuilt() {} 35 void ChromeBrowserProvider::AssertBrowserContextKeyedFactoriesBuilt() {}
36 36
37 void ChromeBrowserProvider::RegisterProfilePrefs(
38 user_prefs::PrefRegistrySyncable* registry) {}
39
40 SigninErrorProvider* ChromeBrowserProvider::GetSigninErrorProvider() { 37 SigninErrorProvider* ChromeBrowserProvider::GetSigninErrorProvider() {
41 return nullptr; 38 return nullptr;
42 } 39 }
43 40
44 SigninResourcesProvider* ChromeBrowserProvider::GetSigninResourcesProvider() { 41 SigninResourcesProvider* ChromeBrowserProvider::GetSigninResourcesProvider() {
45 return nullptr; 42 return nullptr;
46 } 43 }
47 44
48 void ChromeBrowserProvider::SetChromeIdentityServiceForTesting( 45 void ChromeBrowserProvider::SetChromeIdentityServiceForTesting(
49 std::unique_ptr<ChromeIdentityService> service) {} 46 std::unique_ptr<ChromeIdentityService> service) {}
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 id<NativeAppWhitelistManager> 148 id<NativeAppWhitelistManager>
152 ChromeBrowserProvider::GetNativeAppWhitelistManager() const { 149 ChromeBrowserProvider::GetNativeAppWhitelistManager() const {
153 return nil; 150 return nil;
154 } 151 }
155 152
156 void ChromeBrowserProvider::HideModalViewStack() const {} 153 void ChromeBrowserProvider::HideModalViewStack() const {}
157 154
158 void ChromeBrowserProvider::LogIfModalViewsArePresented() const {} 155 void ChromeBrowserProvider::LogIfModalViewsArePresented() const {}
159 156
160 } // namespace ios 157 } // namespace ios
OLDNEW
« no previous file with comments | « ios/public/provider/chrome/browser/chrome_browser_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698