| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_CHROME_BROWSER_STOREKIT_LAUNCHER_H_ | 5 #ifndef IOS_CHROME_BROWSER_STOREKIT_LAUNCHER_H_ |
| 6 #define IOS_CHROME_BROWSER_STOREKIT_LAUNCHER_H_ | 6 #define IOS_CHROME_BROWSER_STOREKIT_LAUNCHER_H_ |
| 7 | 7 |
| 8 @class NSString; |
| 9 |
| 8 // Protocol to be implemented by a class that provides an access to the app | 10 // Protocol to be implemented by a class that provides an access to the app |
| 9 // store with StoreKit. | 11 // store with StoreKit. |
| 10 @protocol StoreKitLauncher | 12 @protocol StoreKitLauncher |
| 11 | 13 |
| 12 // Opens StoreKit modal to present a product identified with |productID|. | 14 // Opens StoreKit modal to present a product identified with |productID|. |
| 13 - (void)openAppStore:(NSString*)productID; | 15 - (void)openAppStore:(NSString*)productID; |
| 14 | 16 |
| 15 @end | 17 @end |
| 16 | 18 |
| 17 #endif // IOS_CHROME_BROWSER_STOREKIT_LAUNCHER_H_ | 19 #endif // IOS_CHROME_BROWSER_STOREKIT_LAUNCHER_H_ |
| OLD | NEW |