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

Side by Side Diff: net/url_request/url_request_job_factory.h

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 NET_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_
6 #define NET_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 29 matching lines...) Expand all
40 }; 40 };
41 41
42 URLRequestJobFactory(); 42 URLRequestJobFactory();
43 virtual ~URLRequestJobFactory(); 43 virtual ~URLRequestJobFactory();
44 44
45 virtual URLRequestJob* MaybeCreateJobWithProtocolHandler( 45 virtual URLRequestJob* MaybeCreateJobWithProtocolHandler(
46 const std::string& scheme, 46 const std::string& scheme,
47 URLRequest* request, 47 URLRequest* request,
48 NetworkDelegate* network_delegate) const = 0; 48 NetworkDelegate* network_delegate) const = 0;
49 49
50 virtual URLRequestJob* MaybeInterceptRedirect(
51 URLRequest* request,
52 NetworkDelegate* network_delegate,
53 const GURL& location) const = 0;
54
55 virtual URLRequestJob* MaybeInterceptResponse(
56 URLRequest* request,
57 NetworkDelegate* network_delegate) const = 0;
58
50 virtual bool IsHandledProtocol(const std::string& scheme) const = 0; 59 virtual bool IsHandledProtocol(const std::string& scheme) const = 0;
51 60
52 virtual bool IsHandledURL(const GURL& url) const = 0; 61 virtual bool IsHandledURL(const GURL& url) const = 0;
53 62
54 virtual bool IsSafeRedirectTarget(const GURL& location) const = 0; 63 virtual bool IsSafeRedirectTarget(const GURL& location) const = 0;
55 64
56 private: 65 private:
57 DISALLOW_COPY_AND_ASSIGN(URLRequestJobFactory); 66 DISALLOW_COPY_AND_ASSIGN(URLRequestJobFactory);
58 }; 67 };
59 68
60 } // namespace net 69 } // namespace net
61 70
62 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_ 71 #endif // NET_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_interceptor.cc ('k') | net/url_request/url_request_job_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698