blob: e8e1e44cc536aff83f76d036b9de368aacc692b8 [file] [log] [blame]
// Copyright 2013 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_CHROME_BROWSER_STORE_KIT_STORE_KIT_LAUNCHER_H_
#define IOS_CHROME_BROWSER_STORE_KIT_STORE_KIT_LAUNCHER_H_
@class NSString;
@class NSDictionary;
// Protocol to be implemented by a class that provides an access to the app
// store with StoreKit.
@protocol StoreKitLauncher
// Opens StoreKit modal to present a product identified with |productID|.
- (void)openAppStore:(NSString*)productID;
// Opens StoreKit modal to present a product using |productParameters|.
// SKStoreProductParameterITunesItemIdentifier key must be set in
// |productParameters|.
- (void)openAppStoreWithParameters:(NSDictionary*)productParameters;
@end
#endif // IOS_CHROME_BROWSER_STORE_KIT_STORE_KIT_LAUNCHER_H_