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

Unified Diff: net/url_request/url_request.h

Issue 1868763002: Remove URLRequest::IsHandledProtocol and IsHandledURL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: finish removing URLRequest::IsHandledProtocol() Created 4 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 side-by-side diff with in-line comments
Download patch
Index: net/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index b470d85c34f4e6da1d22b6cb7093e2daae2ae453..fbcb4dc944df209361b49514c0c1407235e6809d 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -236,17 +236,6 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe),
// started. Once it was set to block all cookies, it cannot be changed back.
static void SetDefaultCookiePolicyToBlock();
- // Returns true if the scheme can be handled by URLRequest. False otherwise.
- static bool IsHandledProtocol(const std::string& scheme);
-
- // Returns true if the url can be handled by URLRequest. False otherwise.
- // The function returns true for invalid urls because URLRequest knows how
- // to handle those.
- // NOTE: This will also return true for URLs that are handled by
- // ProtocolFactories that only work for requests that are scoped to a
- // Profile.
- static bool IsHandledURL(const GURL& url);
-
// The original url is the url used to initialize the request, and it may
// differ from the url if the request was redirected.
const GURL& original_url() const { return url_chain_.front(); }

Powered by Google App Engine
This is Rietveld 408576698