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

Unified Diff: ios/chrome/browser/xcallback_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/xcallback_parameters.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/xcallback_parameters.mm
diff --git a/ios/chrome/browser/xcallback_parameters.mm b/ios/chrome/browser/xcallback_parameters.mm
deleted file mode 100644
index 855a58d8fc45d7c3df95c372dc6db2c9c5dba963..0000000000000000000000000000000000000000
--- a/ios/chrome/browser/xcallback_parameters.mm
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2012 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.
-
-#import "ios/chrome/browser/xcallback_parameters.h"
-
-#if !defined(__has_feature) || !__has_feature(objc_arc)
-#error "This file requires ARC support."
-#endif
-
-namespace {
-NSString* const kSourceAppIdKey = @"sourceAppId";
-}
-
-@implementation XCallbackParameters
-@synthesize sourceAppId = _sourceAppId;
-
-- (instancetype)initWithSourceAppId:(NSString*)sourceAppId {
- self = [super init];
- if (self) {
- _sourceAppId = [sourceAppId copy];
- }
- return self;
-}
-
-- (NSString*)description {
- return [NSString stringWithFormat:@"SourceApp: %@\n", _sourceAppId];
-}
-
-#pragma mark - NSCoding Methods
-
-- (instancetype)initWithCoder:(NSCoder*)aDecoder {
- return
- [self initWithSourceAppId:[aDecoder decodeObjectForKey:kSourceAppIdKey]];
-}
-
-- (void)encodeWithCoder:(NSCoder*)aCoder {
- [aCoder encodeObject:_sourceAppId forKey:kSourceAppIdKey];
-}
-
-#pragma mark - NSCopying Methods
-
-- (instancetype)copyWithZone:(NSZone*)zone {
- return [[[self class] allocWithZone:zone] initWithSourceAppId:_sourceAppId];
-}
-
-@end
« no previous file with comments | « ios/chrome/browser/xcallback_parameters.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698