Chromium Code Reviews| Index: ios/public/provider/chrome/browser/native_app_launcher/fake_native_app_metadata.h |
| diff --git a/ios/public/provider/chrome/browser/native_app_launcher/fake_native_app_metadata.h b/ios/public/provider/chrome/browser/native_app_launcher/fake_native_app_metadata.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..30b5f76fa1eb44e366ee9fa4c4145c2c1c482c30 |
| --- /dev/null |
| +++ b/ios/public/provider/chrome/browser/native_app_launcher/fake_native_app_metadata.h |
| @@ -0,0 +1,29 @@ |
| +// 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. |
| + |
| +#ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_NATIVE_APP_LAUNCHER_FAKE_NATIVE_APP_METADATA_H_ |
| +#define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_NATIVE_APP_LAUNCHER_FAKE_NATIVE_APP_METADATA_H_ |
| + |
| +#import <Foundation/Foundation.h> |
| + |
| +#import "ios/public/provider/chrome/browser/native_app_launcher/native_app_metadata.h" |
| + |
| +// FakeNativeAppMetadata used for testing purposes. |
| +@interface FakeNativeAppMetadata : NSObject<NativeAppMetadata> |
| + |
| +// Name of the FakeNativeAppMetadata App. |
| +@property(nonatomic, assign) NSString* appName; |
|
rohitrao (ping after 24h)
2016/11/25 00:34:38
This is personal preference, but I prefer to expli
sczs1
2016/11/26 04:10:18
Sounds good, it describes the property better.
|
| + |
| +// Id of the FakeNativeAppMetadata App. |
| +@property(nonatomic, assign) NSString* appId; |
| + |
| +// Checks if the FakeNativeApp is Google owned. |
| +@property(getter=isGoogleOwnedApp) BOOL googleOwnedApp; |
|
sdefresne
2016/11/25 08:41:57
Is this readonly? Maybe add "readwrite" here too.
sczs1
2016/11/26 04:10:18
Done.
|
| + |
| +// Checks if the FakeNativeApp is installed. |
| +@property(getter=isInstalled) BOOL installed; |
|
sdefresne
2016/11/25 08:41:57
ditto "nonatomic".
sczs1
2016/11/26 04:10:18
Done.
|
| + |
| +@end |
| + |
| +#endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_NATIVE_APP_LAUNCHER_FAKE_NATIVE_APP_METADATA_H_ |