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

Unified Diff: chrome/browser/ui/tab_contents/core_tab_helper.cc

Issue 19278016: Add load states for stalled requests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix comment Created 7 years, 5 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') | net/base/load_states_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tab_contents/core_tab_helper.cc
===================================================================
--- chrome/browser/ui/tab_contents/core_tab_helper.cc (revision 211022)
+++ chrome/browser/ui/tab_contents/core_tab_helper.cc (working copy)
@@ -38,6 +38,9 @@
}
switch (web_contents()->GetLoadState().state) {
+ case net::LOAD_STATE_WAITING_FOR_STALLED_SOCKET_POOL:
+ case net::LOAD_STATE_WAITING_FOR_AVAILABLE_SOCKET:
+ return l10n_util::GetStringUTF16(IDS_LOAD_STATE_WAITING_FOR_SOCKET_SLOT);
case net::LOAD_STATE_WAITING_FOR_DELEGATE:
if (!web_contents()->GetLoadState().param.empty()) {
return l10n_util::GetStringFUTF16(IDS_LOAD_STATE_WAITING_FOR_DELEGATE,
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | net/base/load_states_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698