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

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

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 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SIGNIN_TEST_SIGNIN_RESOURCES_PROVIDER _H_
6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SIGNIN_TEST_SIGNIN_RESOURCES_PROVIDER _H_
7
8 #include "ios/public/provider/chrome/browser/signin/signin_resources_provider.h"
9
10 #include "base/mac/scoped_nsobject.h"
11
12 @class UIImage;
13
14 class TestSigninResourcesProvider : public ios::SigninResourcesProvider {
15 public:
16 TestSigninResourcesProvider();
17 ~TestSigninResourcesProvider() override;
18
19 UIImage* GetDefaultAvatar() override;
20 NSString* GetLocalizedString(ios::SigninStringID string_id) override;
21
22 private:
23 base::scoped_nsobject<UIImage> default_avatar_;
24
25 DISALLOW_COPY_AND_ASSIGN(TestSigninResourcesProvider);
26 };
27
28 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SIGNIN_TEST_SIGNIN_RESOURCES_PROVI DER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698