summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-04 02:01:20 +0000
committerrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-04 02:01:20 +0000
commit760afa9837be0fb92b2994360743ccac35fe7384 (patch)
tree5c1a8005f4f360d3ccefd81106304936b38557aa /chrome
parent8c69c8c74c98c49092b7f39c86e537e6abe8894a (diff)
downloadchromium_src-760afa9837be0fb92b2994360743ccac35fe7384.zip
chromium_src-760afa9837be0fb92b2994360743ccac35fe7384.tar.gz
chromium_src-760afa9837be0fb92b2994360743ccac35fe7384.tar.bz2
Add a LoadState for the AppCache
BUG=101972 TEST=none Review URL: http://codereview.chromium.org/8351047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108611 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/app/generated_resources.grd3
-rw-r--r--chrome/browser/ui/tab_contents/tab_contents_wrapper.cc2
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 1d980d8..a98c45b 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -6478,6 +6478,9 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_LOAD_STATE_WAITING_FOR_CACHE">
Waiting for cache...
</message>
+ <message name="IDS_LOAD_STATE_WAITING_FOR_APPCACHE">
+ Waiting for AppCache...
+ </message>
<message name="IDS_LOAD_STATE_ESTABLISHING_PROXY_TUNNEL">
Waiting for proxy tunnel...
</message>
diff --git a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc
index 8d95117..0452e39 100644
--- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc
@@ -481,6 +481,8 @@ string16 TabContentsWrapper::GetStatusText() const {
tab_contents()->load_state().param);
case net::LOAD_STATE_WAITING_FOR_CACHE:
return l10n_util::GetStringUTF16(IDS_LOAD_STATE_WAITING_FOR_CACHE);
+ case net::LOAD_STATE_WAITING_FOR_APPCACHE:
+ return l10n_util::GetStringUTF16(IDS_LOAD_STATE_WAITING_FOR_APPCACHE);
case net::LOAD_STATE_ESTABLISHING_PROXY_TUNNEL:
return
l10n_util::GetStringUTF16(IDS_LOAD_STATE_ESTABLISHING_PROXY_TUNNEL);