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

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

Issue 2580363002: Upstream Chrome on iOS source code [1/11]. (Closed)
Patch Set: Created 4 years 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_APP_STARTUP_NETWORK_STACK_SETUP_H_
6 #define IOS_CHROME_APP_STARTUP_NETWORK_STACK_SETUP_H_
7
8 #import <UIKit/UIKit.h>
9
10 #import <memory>
11
12 namespace web {
13 class RequestTrackerFactoryImpl;
14 class WebHTTPProtocolHandlerDelegate;
15 } // namespace web
16
17 @interface NetworkStackSetup : NSObject
18
19 // Sets up the network stack: protocol handler and cache.
20 // TODO(crbug.com/585700): Remove the first parameter.
21 + (void)setUpChromeNetworkStack:
22 (std::unique_ptr<web::RequestTrackerFactoryImpl>*)
23 requestTrackerFactory
24 httpProtocolHandlerDelegate:
25 (std::unique_ptr<web::WebHTTPProtocolHandlerDelegate>*)
26 httpProtocolHandlerDelegate;
27
28 @end
29
30 #endif // IOS_CHROME_APP_STARTUP_NETWORK_STACK_SETUP_H_
OLDNEW
« no previous file with comments | « ios/chrome/app/startup/ios_chrome_main_delegate.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