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

Side by Side Diff: ios/public/test/test_keyed_service_provider.cc

Issue 1143323005: Refactor AO2TS to make it easier to componentize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: works for all platforms commit e75a498951318d4deb65d40ce8b2def44cd5abc0 Created 5 years, 5 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ios/public/test/test_keyed_service_provider.h" 5 #include "ios/public/test/test_keyed_service_provider.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 TestKeyedServiceProvider::GetBookmarkModelForBrowserState( 80 TestKeyedServiceProvider::GetBookmarkModelForBrowserState(
81 ChromeBrowserState* browser_state) { 81 ChromeBrowserState* browser_state) {
82 return nullptr; 82 return nullptr;
83 } 83 }
84 84
85 KeyedServiceBaseFactory* 85 KeyedServiceBaseFactory*
86 TestKeyedServiceProvider::GetProfileOAuth2TokenServiceIOSFactory() { 86 TestKeyedServiceProvider::GetProfileOAuth2TokenServiceIOSFactory() {
87 return MissingServiceKeyedServiceFactory::GetInstance(); 87 return MissingServiceKeyedServiceFactory::GetInstance();
88 } 88 }
89 89
90 ProfileOAuth2TokenServiceIOS* 90 ProfileOAuth2TokenService*
91 TestKeyedServiceProvider::GetProfileOAuth2TokenServiceIOSForBrowserState( 91 TestKeyedServiceProvider::GetProfileOAuth2TokenServiceIOSForBrowserState(
92 ChromeBrowserState* browser_state) { 92 ChromeBrowserState* browser_state) {
93 return nullptr; 93 return nullptr;
94 } 94 }
95 95
96 KeyedServiceBaseFactory* TestKeyedServiceProvider::GetSigninManagerFactory() { 96 KeyedServiceBaseFactory* TestKeyedServiceProvider::GetSigninManagerFactory() {
97 return MissingServiceKeyedServiceFactory::GetInstance(); 97 return MissingServiceKeyedServiceFactory::GetInstance();
98 } 98 }
99 99
100 SigninManager* TestKeyedServiceProvider::GetSigninManagerForBrowserState( 100 SigninManager* TestKeyedServiceProvider::GetSigninManagerForBrowserState(
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 } 139 }
140 140
141 history::HistoryService* 141 history::HistoryService*
142 TestKeyedServiceProvider::GetHistoryServiceForBrowserState( 142 TestKeyedServiceProvider::GetHistoryServiceForBrowserState(
143 ChromeBrowserState* browser_state, 143 ChromeBrowserState* browser_state,
144 ServiceAccessType access_type) { 144 ServiceAccessType access_type) {
145 return nullptr; 145 return nullptr;
146 } 146 }
147 147
148 } // namespace ios 148 } // namespace ios
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698