Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / ios / public / provider / chrome / browser / chrome_browser_provider.cc
blobf3015fe4de8816ce2eccf51c479a2b810c07348a
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
3 // found in the LICENSE file.
5 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
7 #include "base/logging.h"
9 namespace ios {
11 namespace {
12 ChromeBrowserProvider* g_chrome_browser_provider = nullptr;
13 } // namespace
15 void SetChromeBrowserProvider(ChromeBrowserProvider* provider) {
16 g_chrome_browser_provider = provider;
19 ChromeBrowserProvider* GetChromeBrowserProvider() {
20 return g_chrome_browser_provider;
23 ChromeBrowserProvider::~ChromeBrowserProvider() {
26 // A dummy implementation of ChromeBrowserProvider.
28 ChromeBrowserProvider::ChromeBrowserProvider() {
31 net::URLRequestContextGetter*
32 ChromeBrowserProvider::GetSystemURLRequestContext() {
33 return nullptr;
36 PrefService* ChromeBrowserProvider::GetLocalState() {
37 return nullptr;
40 ProfileOAuth2TokenServiceIOSProvider*
41 ChromeBrowserProvider::GetProfileOAuth2TokenServiceIOSProvider() {
42 return nullptr;
45 UpdatableResourceProvider*
46 ChromeBrowserProvider::GetUpdatableResourceProvider() {
47 return nullptr;
50 ChromeBrowserStateManager*
51 ChromeBrowserProvider::GetChromeBrowserStateManager() {
52 return nullptr;
55 InfoBarViewPlaceholder ChromeBrowserProvider::CreateInfoBarView(
56 CGRect frame,
57 InfoBarViewDelegate* delegate) {
58 return nullptr;
61 ChromeIdentityService* ChromeBrowserProvider::GetChromeIdentityService() {
62 return nullptr;
65 StringProvider* ChromeBrowserProvider::GetStringProvider() {
66 return nullptr;
69 GeolocationUpdaterProvider*
70 ChromeBrowserProvider::GetGeolocationUpdaterProvider() {
71 return nullptr;
74 std::string ChromeBrowserProvider::GetDistributionBrandCode() {
75 return std::string();
78 const char* ChromeBrowserProvider::GetChromeUIScheme() {
79 return nullptr;
82 void ChromeBrowserProvider::SetUIViewAlphaWithAnimation(UIView* view,
83 float alpha) {
86 metrics::MetricsService* ChromeBrowserProvider::GetMetricsService() {
87 return nullptr;
90 autofill::CardUnmaskPromptView*
91 ChromeBrowserProvider::CreateCardUnmaskPromptView(
92 autofill::CardUnmaskPromptController* controller) {
93 return nullptr;
96 std::string ChromeBrowserProvider::GetRiskData() {
97 return std::string();
100 rappor::RapporService* ChromeBrowserProvider::GetRapporService() {
101 return nullptr;
104 } // namespace ios