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

Unified Diff: content/browser/webui/url_data_manager_backend.h

Issue 2873913002: Implement chrome://network-error with network service. (Closed)
Patch Set: merge Created 3 years, 7 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: content/browser/webui/url_data_manager_backend.h
diff --git a/content/browser/webui/url_data_manager_backend.h b/content/browser/webui/url_data_manager_backend.h
index 171d72373f101b594fe0612e3751bcabb075872a..da6464877fc938dcb28924b2a72e79bbd5fee4ba 100644
--- a/content/browser/webui/url_data_manager_backend.h
+++ b/content/browser/webui/url_data_manager_backend.h
@@ -77,6 +77,9 @@ class URLDataManagerBackend : public base::SupportsUserData::Data {
// path is the remaining portion after the scheme and hostname.
static void URLToRequestPath(const GURL& url, std::string* path);
+ // Check if the given integer is a valid network error code.
+ static bool IsValidNetworkErrorCode(int error_code);
+
// Returns the schemes that are used by WebUI (i.e. the set from content and
// its embedder).
static std::vector<std::string> GetWebUISchemes();
« no previous file with comments | « content/browser/webui/network_error_url_loader.cc ('k') | content/browser/webui/url_data_manager_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698