| OLD | NEW |
| (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 #import "ios/chrome/browser/providers/signin/chromium_signin_resources_provider.
h" |
| 6 |
| 7 #import <UIKit/UIKit.h> |
| 8 |
| 9 #import "ios/chrome/browser/ui/uikit_ui_util.h" |
| 10 |
| 11 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 12 #error "This file requires ARC support." |
| 13 #endif |
| 14 |
| 15 ChromiumSigninResourcesProvider::ChromiumSigninResourcesProvider() {} |
| 16 ChromiumSigninResourcesProvider::~ChromiumSigninResourcesProvider() {} |
| 17 |
| 18 // The signin code expects to receive a non-nil response to this method, even |
| 19 // though signin is not supported by Chromium builds. |
| 20 UIImage* ChromiumSigninResourcesProvider::GetDefaultAvatar() { |
| 21 return ImageWithColor([UIColor lightGrayColor]); |
| 22 } |
| 23 |
| 24 NSString* ChromiumSigninResourcesProvider::GetLocalizedString( |
| 25 ios::SigninStringID string_id) { |
| 26 return @""; |
| 27 } |
| OLD | NEW |