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

Unified Diff: ios/chrome/browser/app_startup_parameters.mm

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/app_startup_parameters.h ('k') | ios/chrome/browser/tabs/tab.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/app_startup_parameters.mm
diff --git a/ios/chrome/browser/app_startup_parameters.mm b/ios/chrome/browser/app_startup_parameters.mm
index 0ae884d2f03a666b71252ff4bb034e8ac4a8196b..54e2ec74b74647f421ee2f160c69fc58318b3101 100644
--- a/ios/chrome/browser/app_startup_parameters.mm
+++ b/ios/chrome/browser/app_startup_parameters.mm
@@ -4,8 +4,6 @@
#import "ios/chrome/browser/app_startup_parameters.h"
-#include "base/logging.h"
-#import "ios/chrome/browser/xcallback_parameters.h"
#include "url/gurl.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
@@ -18,7 +16,6 @@
@synthesize launchVoiceSearch = _launchVoiceSearch;
@synthesize launchInIncognito = _launchInIncognito;
-@synthesize xCallbackParameters = _xCallbackParameters;
@synthesize launchFocusOmnibox = _launchFocusOmnibox;
@synthesize launchQRScanner = _launchQRScanner;
@@ -26,30 +23,18 @@
return _externalURL;
}
-
-- (instancetype)init {
- NOTREACHED();
- return nil;
-}
-
- (instancetype)initWithExternalURL:(const GURL&)externalURL {
- return [self initWithExternalURL:externalURL xCallbackParameters:nil];
-}
-
-- (instancetype)initWithExternalURL:(const GURL&)externalURL
- xCallbackParameters:(XCallbackParameters*)xCallbackParameters {
self = [super init];
if (self) {
_externalURL = externalURL;
- _xCallbackParameters = xCallbackParameters;
}
return self;
}
- (NSString*)description {
- NSMutableString* description = [NSMutableString
- stringWithFormat:@"ExternalURL: %s \nXCallbackParams: %@",
- _externalURL.spec().c_str(), _xCallbackParameters];
+ NSMutableString* description =
+ [NSMutableString stringWithFormat:@"AppStartupParameters: %s",
+ _externalURL.spec().c_str()];
if (self.launchQRScanner) {
[description appendString:@", should launch QR scanner"];
« no previous file with comments | « ios/chrome/browser/app_startup_parameters.h ('k') | ios/chrome/browser/tabs/tab.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698