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 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SIGNIN_FAKE_CHROME_IDENTITY_H_ | |
6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SIGNIN_FAKE_CHROME_IDENTITY_H_ | |
7 | |
8 #import "ios/public/provider/chrome/browser/signin/chrome_identity.h" | |
9 | |
10 // A fake ChromeIdentity used for testing. | |
11 @interface FakeChromeIdentity : ChromeIdentity | |
12 | |
13 // Returns a new fake ChromeIdentity based on |email|, |gaiaID| and |name|. | |
msarda
2016/07/07 11:58:06
s/a new/an autoreleased
bzanotti
2016/07/07 12:48:11
Done.
| |
14 // The hashedGaiaID will be derived from |name|. | |
sdefresne
2016/07/07 12:12:40
nit: The hashed GaiaID
bzanotti
2016/07/07 12:48:11
I was referring to the property |hashedGaiaID|. Up
| |
15 + (FakeChromeIdentity*)identityWithEmail:(NSString*)email | |
16 gaiaID:(NSString*)gaiaID | |
17 name:(NSString*)name; | |
18 | |
19 @end | |
20 | |
21 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_SIGNIN_FAKE_CHROME_IDENTITY_H_ | |
OLD | NEW |