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

Side by Side Diff: ios/chrome/app/startup/network_stack_setup.h

Issue 2627723005: Remove support for custom NSURLProtocol. (Closed)
Patch Set: Created 3 years, 11 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 | « ios/chrome/app/main_controller.mm ('k') | ios/chrome/app/startup/network_stack_setup.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_STARTUP_NETWORK_STACK_SETUP_H_ 5 #ifndef IOS_CHROME_APP_STARTUP_NETWORK_STACK_SETUP_H_
6 #define IOS_CHROME_APP_STARTUP_NETWORK_STACK_SETUP_H_ 6 #define IOS_CHROME_APP_STARTUP_NETWORK_STACK_SETUP_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #import <memory> 10 #import <memory>
11 11
12 namespace web { 12 namespace web {
13 class RequestTrackerFactoryImpl; 13 class RequestTrackerFactoryImpl;
14 class WebHTTPProtocolHandlerDelegate;
15 } // namespace web 14 } // namespace web
16 15
17 @interface NetworkStackSetup : NSObject 16 @interface NetworkStackSetup : NSObject
18 17
19 // Sets up the network stack: protocol handler and cache. 18 // Sets up the network stack: protocol handler and cache.
20 // TODO(crbug.com/585700): Remove the first parameter. 19 // TODO(crbug.com/585700): Remove the return value.
21 + (void)setUpChromeNetworkStack: 20 + (std::unique_ptr<web::RequestTrackerFactoryImpl>)setUpChromeNetworkStack;
22 (std::unique_ptr<web::RequestTrackerFactoryImpl>*)
23 requestTrackerFactory
24 httpProtocolHandlerDelegate:
25 (std::unique_ptr<web::WebHTTPProtocolHandlerDelegate>*)
26 httpProtocolHandlerDelegate;
27 21
28 @end 22 @end
29 23
30 #endif // IOS_CHROME_APP_STARTUP_NETWORK_STACK_SETUP_H_ 24 #endif // IOS_CHROME_APP_STARTUP_NETWORK_STACK_SETUP_H_
OLDNEW
« no previous file with comments | « ios/chrome/app/main_controller.mm ('k') | ios/chrome/app/startup/network_stack_setup.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698