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

Side by Side Diff: ios/public/provider/chrome/browser/test_updatable_resource_provider.mm

Issue 1663783002: Remove the //ios/public/test target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios_tests
Patch Set: Add missing forwarding-header Created 4 years, 10 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
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 #import "ios/public/test/test_updatable_resource_provider.h" 5 #import "ios/public/provider/chrome/browser/test_updatable_resource_provider.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 9
10 #pragma mark - TestUpdatabeResourceDescriptor 10 #pragma mark - TestUpdatabeResourceDescriptor
11 11
12 // Dummy UpdatableResourceDescriptorBridge implementation. 12 // Dummy UpdatableResourceDescriptorBridge implementation.
13 @interface TestUpdatabeResourceDescriptor 13 @interface TestUpdatabeResourceDescriptor
14 : NSObject<UpdatableResourceDescriptorBridge> 14 : NSObject<UpdatableResourceDescriptorBridge>
15 @property(nonatomic, readonly) NSURL* updateURL; 15 @property(nonatomic, readonly) NSURL* updateURL;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 NSString* resource_identifier, 99 NSString* resource_identifier,
100 id<UpdatableResourceDelegate> delegate) { 100 id<UpdatableResourceDelegate> delegate) {
101 NSString* path = 101 NSString* path =
102 [NSString stringWithFormat:@"%@/gm-config/ANY/%@", 102 [NSString stringWithFormat:@"%@/gm-config/ANY/%@",
103 [[NSBundle mainBundle] resourcePath], 103 [[NSBundle mainBundle] resourcePath],
104 resource_identifier]; 104 resource_identifier];
105 return [[TestUpdatableResource alloc] initWithDelegate:delegate plist:path]; 105 return [[TestUpdatableResource alloc] initWithDelegate:delegate plist:path];
106 } 106 }
107 107
108 } // namespace ios 108 } // namespace ios
OLDNEW
« no previous file with comments | « ios/public/provider/chrome/browser/test_updatable_resource_provider.h ('k') | ios/public/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698