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

Side by Side Diff: net/base/sdch_manager.h

Issue 518016: Avoid meta-refresh when back-button gets non-sdch content... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/sdch_filter.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Provides global database of differential decompression dictionaries for the 5 // Provides global database of differential decompression dictionaries for the
6 // SDCH filter (processes sdch enconded content). 6 // SDCH filter (processes sdch enconded content).
7 7
8 // Exactly one instance of SdchManager is built, and all references are made 8 // Exactly one instance of SdchManager is built, and all references are made
9 // into that collection. 9 // into that collection.
10 // 10 //
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 META_REFRESH_RECOVERY = 70, // Dictionary not found. 117 META_REFRESH_RECOVERY = 70, // Dictionary not found.
118 // defunct = 71, // Almost the same as META_REFRESH_UNSUPPORTED. 118 // defunct = 71, // Almost the same as META_REFRESH_UNSUPPORTED.
119 // defunct = 72, // Almost the same as CACHED_META_REFRESH_UNSUPPORTED. 119 // defunct = 72, // Almost the same as CACHED_META_REFRESH_UNSUPPORTED.
120 // defunct = 73, // PASSING_THROUGH_NON_SDCH plus DISCARD_TENTATIVE_SDCH. 120 // defunct = 73, // PASSING_THROUGH_NON_SDCH plus DISCARD_TENTATIVE_SDCH.
121 META_REFRESH_UNSUPPORTED = 74, // Unrecoverable error. 121 META_REFRESH_UNSUPPORTED = 74, // Unrecoverable error.
122 CACHED_META_REFRESH_UNSUPPORTED = 75, // As above, but pulled from cache. 122 CACHED_META_REFRESH_UNSUPPORTED = 75, // As above, but pulled from cache.
123 PASSING_THROUGH_NON_SDCH = 76, // Non-html tagged as sdch but malformed. 123 PASSING_THROUGH_NON_SDCH = 76, // Non-html tagged as sdch but malformed.
124 INCOMPLETE_SDCH_CONTENT = 77, // Last window was not completely decoded. 124 INCOMPLETE_SDCH_CONTENT = 77, // Last window was not completely decoded.
125 PASS_THROUGH_404_CODE = 78, // URL not found message passing through. 125 PASS_THROUGH_404_CODE = 78, // URL not found message passing through.
126 126
127 // This next report is very common, and not really an error scenario, but
128 // it exercises the error recovery logic.
129 PASS_THROUGH_OLD_CACHED = 79, // Back button got pre-SDCH cached content.
130
127 // Common decoded recovery methods. 131 // Common decoded recovery methods.
128 META_REFRESH_CACHED_RECOVERY = 80, // Probably startup tab loading. 132 META_REFRESH_CACHED_RECOVERY = 80, // Probably startup tab loading.
129 DISCARD_TENTATIVE_SDCH = 81, // Server decided not to use sdch. 133 DISCARD_TENTATIVE_SDCH = 81, // Server decided not to use sdch.
130 134
131 // Non SDCH problems, only accounted for to make stat counting complete 135 // Non SDCH problems, only accounted for to make stat counting complete
132 // (i.e., be able to be sure all dictionary advertisements are accounted 136 // (i.e., be able to be sure all dictionary advertisements are accounted
133 // for). 137 // for).
134 138
135 UNFLUSHED_CONTENT = 90, // Possible error in filter chaining. 139 UNFLUSHED_CONTENT = 90, // Possible error in filter chaining.
136 // defunct = 91, // MISSING_TIME_STATS (Should never happen.) 140 // defunct = 91, // MISSING_TIME_STATS (Should never happen.)
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 DomainCounter exponential_blacklist_count; 358 DomainCounter exponential_blacklist_count;
355 359
356 // List of hostnames for which a latency experiment is allowed (because a 360 // List of hostnames for which a latency experiment is allowed (because a
357 // round trip test has recently passed). 361 // round trip test has recently passed).
358 ExperimentSet allow_latency_experiment_; 362 ExperimentSet allow_latency_experiment_;
359 363
360 DISALLOW_COPY_AND_ASSIGN(SdchManager); 364 DISALLOW_COPY_AND_ASSIGN(SdchManager);
361 }; 365 };
362 366
363 #endif // NET_BASE_SDCH_MANAGER_H_ 367 #endif // NET_BASE_SDCH_MANAGER_H_
OLDNEW
« no previous file with comments | « net/base/sdch_filter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698