| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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/provider/chrome/browser/signin/test_signin_resources_provid
er.h" | 5 #include "ios/public/provider/chrome/browser/signin/test_signin_resources_provid
er.h" |
| 6 | 6 |
| 7 #include <UIKit/UIKit.h> | 7 #import <UIKit/UIKit.h> |
| 8 | 8 |
| 9 TestSigninResourcesProvider::TestSigninResourcesProvider() | 9 TestSigninResourcesProvider::TestSigninResourcesProvider() |
| 10 : default_avatar_([[UIImage alloc] init]) {} | 10 : default_avatar_([[UIImage alloc] init]) {} |
| 11 | 11 |
| 12 TestSigninResourcesProvider::~TestSigninResourcesProvider() {} | 12 TestSigninResourcesProvider::~TestSigninResourcesProvider() {} |
| 13 | 13 |
| 14 UIImage* TestSigninResourcesProvider::GetDefaultAvatar() { | 14 UIImage* TestSigninResourcesProvider::GetDefaultAvatar() { |
| 15 return default_avatar_; | 15 return default_avatar_; |
| 16 } | 16 } |
| 17 | 17 |
| 18 NSString* TestSigninResourcesProvider::GetLocalizedString( | 18 NSString* TestSigninResourcesProvider::GetLocalizedString( |
| 19 ios::SigninStringID string_id) { | 19 ios::SigninStringID string_id) { |
| 20 return @"Test"; | 20 return @"Test"; |
| 21 } | 21 } |
| OLD | NEW |