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

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: rebase (needs fixing) Created 4 years, 2 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 | « ios/chrome/browser/chrome_url_util.mm ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 0c413f7e50c095266da3a7fd6239abdad45bcc0a..b4a592a8b415208d3a838bb45080289c03d43442 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(); }
« no previous file with comments | « ios/chrome/browser/chrome_url_util.mm ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698