Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / ios / public / provider / chrome / browser / chrome_browser_provider.cc
blob2185f8fa5d2f1056ea34c1bdc11e244b98352061
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 namespace ios {
9 namespace {
10 ChromeBrowserProvider* g_chrome_browser_provider;
11 } // namespace
13 void SetChromeBrowserProvider(ChromeBrowserProvider* provider) {
14 g_chrome_browser_provider = provider;
17 ChromeBrowserProvider* GetChromeBrowserProvider() {
18 return g_chrome_browser_provider;
21 ChromeBrowserProvider::~ChromeBrowserProvider() {
24 // A dummy implementation of ChromeBrowserProvider.
26 ChromeBrowserProvider::ChromeBrowserProvider() {
29 net::URLRequestContextGetter*
30 ChromeBrowserProvider::GetSystemURLRequestContext() {
31 return nullptr;
34 PrefService* ChromeBrowserProvider::GetLocalState() {
35 return nullptr;
38 UpdatableResourceProvider*
39 ChromeBrowserProvider::GetUpdatableResourceProvider() {
40 return nullptr;
43 InfoBarViewPlaceholder* ChromeBrowserProvider::CreateInfoBarView() {
44 return nullptr;
47 StringProvider* ChromeBrowserProvider::GetStringProvider() {
48 return nullptr;
51 GeolocationUpdaterProvider*
52 ChromeBrowserProvider::GetGeolocationUpdaterProvider() {
53 return nullptr;
56 void ChromeBrowserProvider::ShowTranslateSettings() {
59 const char* ChromeBrowserProvider::GetChromeUIScheme() {
60 return nullptr;
63 void ChromeBrowserProvider::SetUIViewAlphaWithAnimation(UIView* view,
64 float alpha) {
67 } // namespace ios