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

Unified Diff: chrome/browser/chromeos/offline/offline_load_page.cc

Issue 570253002: Componentize NetErrorHelperCore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/net/dns_probe_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/offline/offline_load_page.cc
diff --git a/chrome/browser/chromeos/offline/offline_load_page.cc b/chrome/browser/chromeos/offline/offline_load_page.cc
index 47fa73e02a8106a0f942f7c07f147161aa94ca6c..9903de3a13f2b49f7abf0249411559defa892493 100644
--- a/chrome/browser/chromeos/offline/offline_load_page.cc
+++ b/chrome/browser/chromeos/offline/offline_load_page.cc
@@ -26,6 +26,7 @@
#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
#include "chrome/grit/browser_resources.h"
+#include "components/error_page/common/error_page_params.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/interstitial_page.h"
#include "content/public/browser/notification_types.h"
@@ -89,7 +90,7 @@ std::string OfflineLoadPage::GetHTMLContents() {
LocalizedError::GetStrings(net::ERR_INTERNET_DISCONNECTED,
net::kErrorDomain, url_, false, false, locale,
accept_languages,
- scoped_ptr<LocalizedError::ErrorPageParams>(),
+ scoped_ptr<error_page::ErrorPageParams>(),
&error_strings);
resource_id = IDR_OFFLINE_NET_LOAD_HTML;
}
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/net/dns_probe_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698