OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_XCALLBACK_PARAMETERS_H_ | 5 #ifndef IOS_CHROME_BROWSER_XCALLBACK_PARAMETERS_H_ |
6 #define IOS_CHROME_BROWSER_XCALLBACK_PARAMETERS_H_ | 6 #define IOS_CHROME_BROWSER_XCALLBACK_PARAMETERS_H_ |
7 | 7 |
8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
9 | 9 |
10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 // Flag to force the creation of a new tab. Default YES. | 27 // Flag to force the creation of a new tab. Default YES. |
28 @property(nonatomic, readonly) BOOL createNewTab; | 28 @property(nonatomic, readonly) BOOL createNewTab; |
29 | 29 |
30 - (instancetype)initWithSourceAppId:(NSString*)sourceAppId | 30 - (instancetype)initWithSourceAppId:(NSString*)sourceAppId |
31 sourceAppName:(NSString*)sourceAppName | 31 sourceAppName:(NSString*)sourceAppName |
32 successURL:(const GURL&)successURL | 32 successURL:(const GURL&)successURL |
33 createNewTab:(BOOL)createNewTab | 33 createNewTab:(BOOL)createNewTab |
34 NS_DESIGNATED_INITIALIZER; | 34 NS_DESIGNATED_INITIALIZER; |
35 | 35 |
| 36 - (instancetype)init NS_UNAVAILABLE; |
| 37 |
36 @end | 38 @end |
37 | 39 |
38 #endif // IOS_CHROME_BROWSER_XCALLBACK_PARAMETERS_H_ | 40 #endif // IOS_CHROME_BROWSER_XCALLBACK_PARAMETERS_H_ |
OLD | NEW |