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

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

Issue 2605913002: Fix include import in ios/web (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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 #include "ios/web/net/web_http_protocol_handler_delegate.h" 5 #import "ios/web/net/web_http_protocol_handler_delegate.h"
6 6
7 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 8
9 #import "ios/web/public/url_scheme_util.h" 9 #import "ios/web/public/url_scheme_util.h"
10 #include "ios/web/public/web_client.h" 10 #import "ios/web/public/web_client.h"
11 #include "net/url_request/url_request_context_getter.h" 11 #include "net/url_request/url_request_context_getter.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 #if !defined(__has_feature) || !__has_feature(objc_arc) 14 #if !defined(__has_feature) || !__has_feature(objc_arc)
15 #error "This file requires ARC support." 15 #error "This file requires ARC support."
16 #endif 16 #endif
17 17
18 namespace { 18 namespace {
19 19
20 bool IsAppSpecificScheme(NSURL* url) { 20 bool IsAppSpecificScheme(NSURL* url) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 (IsAppSpecificScheme([request URL]) && 66 (IsAppSpecificScheme([request URL]) &&
67 IsAppSpecificScheme([request mainDocumentURL])); 67 IsAppSpecificScheme([request mainDocumentURL]));
68 } 68 }
69 69
70 net::URLRequestContextGetter* 70 net::URLRequestContextGetter*
71 WebHTTPProtocolHandlerDelegate::GetDefaultURLRequestContext() { 71 WebHTTPProtocolHandlerDelegate::GetDefaultURLRequestContext() {
72 return default_getter_.get(); 72 return default_getter_.get();
73 } 73 }
74 74
75 } // namespace web 75 } // namespace web
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698