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

Side by Side Diff: ios/public/provider/chrome/browser/signin/test_signin_resources_provider.mm

Issue 2509443002: [ios] Adds a TestSigninResourceProvider to TestChromeBrowserProvider. (Closed)
Patch Set: Copyright. Created 4 years, 1 month 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 2016 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/public/provider/chrome/browser/signin/test_signin_resources_provid er.h"
6
7 #include <UIKit/UIKit.h>
8
9 TestSigninResourcesProvider::TestSigninResourcesProvider()
10 : default_avatar_([[UIImage alloc] init]) {}
11
12 TestSigninResourcesProvider::~TestSigninResourcesProvider() {}
13
14 UIImage* TestSigninResourcesProvider::GetDefaultAvatar() {
15 return default_avatar_;
16 }
17
18 NSString* TestSigninResourcesProvider::GetLocalizedString(
19 ios::SigninStringID string_id) {
20 return @"Test";
21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698