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/test/test_chrome_browser_provider.h"
7 #include "base/logging.h"
8 #include "ios/public/test/fake_string_provider.h"
11 const char kUIScheme[] = "uischeme";
16 TestChromeBrowserProvider::TestChromeBrowserProvider()
17 : string_provider_(new FakeStringProvider) {
20 TestChromeBrowserProvider::~TestChromeBrowserProvider() {
24 TestChromeBrowserProvider* TestChromeBrowserProvider::GetTestProvider() {
25 ChromeBrowserProvider* provider = GetChromeBrowserProvider();
27 return static_cast<TestChromeBrowserProvider*>(provider);
30 StringProvider* TestChromeBrowserProvider::GetStringProvider() {
31 return string_provider_.get();
34 const char* TestChromeBrowserProvider::GetChromeUIScheme() {