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

Side by Side Diff: ios/web/net/web_http_protocol_handler_delegate.h

Issue 1043243003: Upstream most of ios/web/net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove accidentally-added clients Created 5 years, 8 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
(Empty)
1 // Copyright 2014 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_WEB_NET_WEB_HTTP_PROTOCOL_HANDLER_DELEGATE_H_
6 #define IOS_WEB_NET_WEB_HTTP_PROTOCOL_HANDLER_DELEGATE_H_
7
8 #include "base/memory/ref_counted.h"
9 #import "ios/net/crn_http_protocol_handler.h"
10
11 namespace web {
12
13 // Web-specific implementation of net::HTTPProtocolHandlerDelegate.
14 class WebHTTPProtocolHandlerDelegate : public net::HTTPProtocolHandlerDelegate {
15 public:
16 WebHTTPProtocolHandlerDelegate(net::URLRequestContextGetter* default_getter);
17 ~WebHTTPProtocolHandlerDelegate() override;
18
19 // net::HTTPProtocolHandlerDelegate implementation:
20 bool CanHandleRequest(NSURLRequest* request) override;
21 bool IsRequestSupported(NSURLRequest* request) override;
22 net::URLRequestContextGetter* GetDefaultURLRequestContext() override;
23
24 private:
25 scoped_refptr<net::URLRequestContextGetter> default_getter_;
26 };
27
28 } // namespace web
29
30 #endif // IOS_WEB_NET_WEB_HTTP_PROTOCOL_HANDLER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/web/net/request_tracker_impl_unittest.mm ('k') | ios/web/net/web_http_protocol_handler_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698