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

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

Issue 1464363002: Provider API for SSOResources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove duplicate implementation of GetSigninResourcesProvider method Created 5 years 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 2015 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_SIGNIN_RESOURCES_PROVIDER_H_
6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SIGNIN_SIGNIN_RESOURCES_PROVIDER_H_
7
8 #include <string>
9
10 #include "base/macros.h"
11
12 @class NSString;
13 @class UIImage;
14
15 namespace ios {
16
17 enum class SigninStringID {
18 BUTTON_CANCEL,
19 REMOVE_ACCOUNT,
20 REMOVE_ACCOUNT_CONFIRMATION,
21 UNNAMED_ACCOUNT,
22 };
23
24 class SigninResourcesProvider {
25 public:
26 SigninResourcesProvider();
27 virtual ~SigninResourcesProvider();
28
29 // Returns a default avatar to use when the identity is missing one.
30 virtual UIImage* GetDefaultAvatar();
31
32 // Returns a localized string.
33 virtual NSString* GetLocalizedString(SigninStringID string_id);
34
35 private:
36 DISALLOW_COPY_AND_ASSIGN(SigninResourcesProvider);
37 };
38
39 } // namespace ios
40
41 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SIGNIN_SIGNIN_RESOURCES_PROVIDER_H _
OLDNEW
« no previous file with comments | « ios/provider/ios_provider_chrome.gyp ('k') | ios/public/provider/chrome/browser/signin/signin_resources_provider.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698