OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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. |
| 4 |
| 5 #include "ios/chrome/browser/browser_state/test_chrome_browser_state_manager.h" |
| 6 |
| 7 TestChromeBrowserStateManager::TestChromeBrowserStateManager( |
| 8 const base::FilePath& user_data_dir) |
| 9 : browser_state_info_cache_(local_state_.Get(), user_data_dir) {} |
| 10 |
| 11 TestChromeBrowserStateManager::~TestChromeBrowserStateManager() {} |
| 12 |
| 13 ios::ChromeBrowserState* |
| 14 TestChromeBrowserStateManager::GetLastUsedBrowserState() { |
| 15 return nullptr; |
| 16 } |
| 17 |
| 18 ios::ChromeBrowserState* TestChromeBrowserStateManager::GetBrowserState( |
| 19 const base::FilePath& path) { |
| 20 return nullptr; |
| 21 } |
| 22 |
| 23 BrowserStateInfoCache* |
| 24 TestChromeBrowserStateManager::GetBrowserStateInfoCache() { |
| 25 return &browser_state_info_cache_; |
| 26 } |
| 27 |
| 28 std::vector<ios::ChromeBrowserState*> |
| 29 TestChromeBrowserStateManager::GetLoadedBrowserStates() { |
| 30 return std::vector<ios::ChromeBrowserState*>(); |
| 31 } |
OLD | NEW |