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

Side by Side Diff: android_webview/browser/net/aw_url_request_job_factory.h

Issue 2783343002: Remove URLRequestJobFactory::IsHandledURL. (Closed)
Patch Set: More fixes..... Created 3 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ANDROID_WEBVIEW_BROWSER_NET_AW_URL_REQUEST_JOB_FACTORY_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_NET_AW_URL_REQUEST_JOB_FACTORY_H_
6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_URL_REQUEST_JOB_FACTORY_H_ 6 #define ANDROID_WEBVIEW_BROWSER_NET_AW_URL_REQUEST_JOB_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 28 matching lines...) Expand all
39 net::URLRequestJob* MaybeInterceptRedirect( 39 net::URLRequestJob* MaybeInterceptRedirect(
40 net::URLRequest* request, 40 net::URLRequest* request,
41 net::NetworkDelegate* network_delegate, 41 net::NetworkDelegate* network_delegate,
42 const GURL& location) const override; 42 const GURL& location) const override;
43 43
44 net::URLRequestJob* MaybeInterceptResponse( 44 net::URLRequestJob* MaybeInterceptResponse(
45 net::URLRequest* request, 45 net::URLRequest* request,
46 net::NetworkDelegate* network_delegate) const override; 46 net::NetworkDelegate* network_delegate) const override;
47 47
48 bool IsHandledProtocol(const std::string& scheme) const override; 48 bool IsHandledProtocol(const std::string& scheme) const override;
49 bool IsHandledURL(const GURL& url) const override;
50 bool IsSafeRedirectTarget(const GURL& location) const override; 49 bool IsSafeRedirectTarget(const GURL& location) const override;
51 50
52 private: 51 private:
53 // By default calls are forwarded to this factory, to avoid having to 52 // By default calls are forwarded to this factory, to avoid having to
54 // subclass an existing implementation class. 53 // subclass an existing implementation class.
55 std::unique_ptr<net::URLRequestJobFactoryImpl> next_factory_; 54 std::unique_ptr<net::URLRequestJobFactoryImpl> next_factory_;
56 55
57 DISALLOW_COPY_AND_ASSIGN(AwURLRequestJobFactory); 56 DISALLOW_COPY_AND_ASSIGN(AwURLRequestJobFactory);
58 }; 57 };
59 58
60 } // namespace android_webview 59 } // namespace android_webview
61 60
62 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_URL_REQUEST_JOB_FACTORY_H_ 61 #endif // ANDROID_WEBVIEW_BROWSER_NET_AW_URL_REQUEST_JOB_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698