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

Unified Diff: net/url_request/url_request_http_job.h

Issue 194057: Check in patch for pierre.lafayette, http://codereview.chromium.org/178059/sh... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/url_request/url_request_ftp_job.cc ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_http_job.h
===================================================================
--- net/url_request/url_request_http_job.h (revision 25619)
+++ net/url_request/url_request_http_job.h (working copy)
@@ -26,12 +26,6 @@
class URLRequestHttpJob : public URLRequestJob {
public:
static URLRequestJob* Factory(URLRequest* request, const std::string& scheme);
- // Specifies a comma separated list of port numbers that should be accepted
- // despite bans. If the string is invalid no allowed ports are stored.
- static void SetExplicitlyAllowedPorts(const std::wstring& allowed_ports);
- static const std::set<int>& explicitly_allowed_ports() {
- return explicitly_allowed_ports_;
- }
virtual ~URLRequestHttpJob();
@@ -85,10 +79,6 @@
void RestartTransactionWithAuth(const std::wstring& username,
const std::wstring& password);
- // Check if banned |port| has been overriden by an entry in
- // |explicitly_allowed_ports_|.
- static bool IsPortAllowedByOverride(int port);
-
// Keep a reference to the url request context to be sure it's not deleted
// before us.
scoped_refptr<URLRequestContext> context_;
@@ -126,10 +116,6 @@
// For recording of stats, we need to remember if this is cached content.
bool is_cached_content_;
- private:
- // Holds a list of ports that should be accepted despite bans.
- static std::set<int> explicitly_allowed_ports_;
-
DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
};
« no previous file with comments | « net/url_request/url_request_ftp_job.cc ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698