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"
10 ChromeBrowserProvider
* g_chrome_browser_provider
;
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() {
34 PrefService
* ChromeBrowserProvider::GetLocalState() {
38 UpdatableResourceProvider
*
39 ChromeBrowserProvider::GetUpdatableResourceProvider() {
43 InfoBarViewPlaceholder
* ChromeBrowserProvider::CreateInfoBarView() {
47 StringProvider
* ChromeBrowserProvider::GetStringProvider() {
51 GeolocationUpdaterProvider
*
52 ChromeBrowserProvider::GetGeolocationUpdaterProvider() {
56 void ChromeBrowserProvider::ShowTranslateSettings() {
59 const char* ChromeBrowserProvider::GetChromeUIScheme() {
63 void ChromeBrowserProvider::SetUIViewAlphaWithAnimation(UIView
* view
,