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

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

Issue 9361047: Fix OfflineLoadPageTest (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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: chrome/browser/chromeos/offline/offline_load_page.cc
===================================================================
--- chrome/browser/chromeos/offline/offline_load_page.cc (revision 121009)
+++ chrome/browser/chromeos/offline/offline_load_page.cc (working copy)
@@ -57,7 +57,6 @@
url_(url) {
net::NetworkChangeNotifier::AddOnlineStateObserver(this);
interstitial_page_ = InterstitialPage::Create(web_contents, true, url, this);
- interstitial_page_->Show();
}
OfflineLoadPage::~OfflineLoadPage() {
@@ -65,6 +64,10 @@
net::NetworkChangeNotifier::RemoveOnlineStateObserver(this);
}
+void OfflineLoadPage::Show() {
+ interstitial_page_->Show();
+}
+
std::string OfflineLoadPage::GetHTMLContents() {
DictionaryValue strings;
int64 time_to_wait = 0; // kMaxBlankPeriod
« no previous file with comments | « chrome/browser/chromeos/offline/offline_load_page.h ('k') | chrome/browser/chromeos/offline/offline_load_page_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698