diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-12 23:17:02 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-12 23:17:02 +0000 |
commit | 5b8466a17b02a144fe83ddfcaa09237636505030 (patch) | |
tree | c40f611b3b82d6dce550c23b28e961034d5fecda /net/base | |
parent | d4202dfcf7ff44bb50609434cc08eda3229a92eb (diff) | |
download | chromium_src-5b8466a17b02a144fe83ddfcaa09237636505030.zip chromium_src-5b8466a17b02a144fe83ddfcaa09237636505030.tar.gz chromium_src-5b8466a17b02a144fe83ddfcaa09237636505030.tar.bz2 |
Remove non-internationalized SDCH warning message.
BUG=33185
r=kmixter
Review URL: http://codereview.chromium.org/3702005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/sdch_filter.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/base/sdch_filter.cc b/net/base/sdch_filter.cc index 725ee3e..a2b13d4 100644 --- a/net/base/sdch_filter.cc +++ b/net/base/sdch_filter.cc @@ -125,6 +125,7 @@ bool SdchFilter::InitDecoding(Filter::FilterType filter_type) { return true; } +#ifndef NDEBUG static const char* kDecompressionErrorHtml = "<head><META HTTP-EQUIV=\"Refresh\" CONTENT=\"0\"></head>" "<div style=\"position:fixed;top:0;left:0;width:100%;border-width:thin;" @@ -133,7 +134,10 @@ static const char* kDecompressionErrorHtml = "An error occurred. This page will be reloaded shortly. " "Or press the \"reload\" button now to reload it immediately." "</div>"; - +#else +static const char* kDecompressionErrorHtml = + "<head><META HTTP-EQUIV=\"Refresh\" CONTENT=\"0\"></head>"; +#endif Filter::FilterStatus SdchFilter::ReadFilteredData(char* dest_buffer, int* dest_len) { |