Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: ios/chrome/browser/browser_state/test_chrome_browser_state_manager.cc

Issue 1664823003: Upstream ChromeBrowserState sub-classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/browser_state/test_chrome_browser_state_manager.h ('k') | ios/chrome/ios_chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698