Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Side by Side Diff: ios/chrome/app/chrome_app_startup_parameters.h

Issue 2923013005: Removed XCallbackParameters and related code. (Closed)
Patch Set: rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ios/chrome/app/chrome_app_startup_parameters.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_APP_CHROME_APP_STARTUP_PARAMETERS_H_ 5 #ifndef IOS_CHROME_APP_CHROME_APP_STARTUP_PARAMETERS_H_
6 #define IOS_CHROME_APP_CHROME_APP_STARTUP_PARAMETERS_H_ 6 #define IOS_CHROME_APP_CHROME_APP_STARTUP_PARAMETERS_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #import "ios/chrome/browser/app_startup_parameters.h" 10 #import "ios/chrome/browser/app_startup_parameters.h"
(...skipping 12 matching lines...) Expand all
23 CALLER_APP_APPLE_OTHER, 23 CALLER_APP_APPLE_OTHER,
24 CALLER_APP_GOOGLE_YOUTUBE, 24 CALLER_APP_GOOGLE_YOUTUBE,
25 CALLER_APP_GOOGLE_MAPS, 25 CALLER_APP_GOOGLE_MAPS,
26 CALLER_APP_NOT_AVAILABLE, // Includes being launched from Smart App Banner. 26 CALLER_APP_NOT_AVAILABLE, // Includes being launched from Smart App Banner.
27 CALLER_APP_GOOGLE_CHROME_TODAY_EXTENSION, 27 CALLER_APP_GOOGLE_CHROME_TODAY_EXTENSION,
28 MOBILE_SESSION_CALLER_APP_COUNT, 28 MOBILE_SESSION_CALLER_APP_COUNT,
29 }; 29 };
30 30
31 @interface ChromeAppStartupParameters : AppStartupParameters 31 @interface ChromeAppStartupParameters : AppStartupParameters
32 32
33 - (instancetype)initWithExternalURL:(const GURL&)externalURL 33 - (instancetype)initWithExternalURL:(const GURL&)externalURL NS_UNAVAILABLE;
34 xCallbackParameters:(XCallbackParameters*)xCallbackParameters
35 NS_UNAVAILABLE;
36 34
37 - (instancetype)initWithExternalURL:(const GURL&)externalURL 35 - (instancetype)initWithExternalURL:(const GURL&)externalURL
38 xCallbackParameters:(XCallbackParameters*)xCallbackParameters
39 declaredSourceApp:(NSString*)declaredSourceApp 36 declaredSourceApp:(NSString*)declaredSourceApp
40 secureSourceApp:(NSString*)secureSourceApp 37 secureSourceApp:(NSString*)secureSourceApp
41 completeURL:(NSURL*)completeURL 38 completeURL:(NSURL*)completeURL
42 NS_DESIGNATED_INITIALIZER; 39 NS_DESIGNATED_INITIALIZER;
43 40
44 // Returns a ChromeAppStartupParameters instance containing the URL to 41 // Returns a ChromeAppStartupParameters instance containing the URL to
45 // open (|externalURL|). In case the URL is conforming to the x-callback-url 42 // open (|externalURL|). In case the URL is conforming to the x-callback-url
46 // specification, additional information are stored in the returned value. 43 // specification, additional information are stored in the returned value.
47 // 44 //
48 // The forms of the URLs we expect are: 45 // The forms of the URLs we expect are:
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 98
102 + (instancetype)newAppStartupParametersForCommand:(NSString*)command 99 + (instancetype)newAppStartupParametersForCommand:(NSString*)command
103 withParameter:(id)parameter 100 withParameter:(id)parameter
104 withURL:(NSURL*)url 101 withURL:(NSURL*)url
105 fromSourceApplication:(NSString*)appId 102 fromSourceApplication:(NSString*)appId
106 fromSecureSourceApplication:(NSString*)secureSourceApp; 103 fromSecureSourceApplication:(NSString*)secureSourceApp;
107 104
108 @end 105 @end
109 106
110 #endif // IOS_CHROME_APP_CHROME_APP_STARTUP_PARAMETERS_H_ 107 #endif // IOS_CHROME_APP_CHROME_APP_STARTUP_PARAMETERS_H_
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/app/chrome_app_startup_parameters.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698