| Index: ios/chrome/browser/providers/signin/chromium_signin_resources_provider.mm
|
| diff --git a/ios/chrome/browser/providers/signin/chromium_signin_resources_provider.mm b/ios/chrome/browser/providers/signin/chromium_signin_resources_provider.mm
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..49c6e021f0c332e06942c243897fbcfb5b16ea0e
|
| --- /dev/null
|
| +++ b/ios/chrome/browser/providers/signin/chromium_signin_resources_provider.mm
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#import "ios/chrome/browser/providers/signin/chromium_signin_resources_provider.h"
|
| +
|
| +#import <UIKit/UIKit.h>
|
| +
|
| +#import "ios/chrome/browser/ui/uikit_ui_util.h"
|
| +
|
| +#if !defined(__has_feature) || !__has_feature(objc_arc)
|
| +#error "This file requires ARC support."
|
| +#endif
|
| +
|
| +ChromiumSigninResourcesProvider::ChromiumSigninResourcesProvider() {}
|
| +ChromiumSigninResourcesProvider::~ChromiumSigninResourcesProvider() {}
|
| +
|
| +// The signin code expects to receive a non-nil response to this method, even
|
| +// though signin is not supported by Chromium builds.
|
| +UIImage* ChromiumSigninResourcesProvider::GetDefaultAvatar() {
|
| + return ImageWithColor([UIColor lightGrayColor]);
|
| +}
|
| +
|
| +NSString* ChromiumSigninResourcesProvider::GetLocalizedString(
|
| + ios::SigninStringID string_id) {
|
| + return @"";
|
| +}
|
|
|