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

Side by Side Diff: net/url_request/url_request_http_job.h

Issue 100004: Hand craft an A/B test of SDCH compression... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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_manager.cc ('k') | net/url_request/url_request_http_job.cc » ('j') | 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 #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 bool read_in_progress_; 87 bool read_in_progress_;
88 88
89 // An URL for an SDCH dictionary as suggested in a Get-Dictionary HTTP header. 89 // An URL for an SDCH dictionary as suggested in a Get-Dictionary HTTP header.
90 GURL sdch_dictionary_url_; 90 GURL sdch_dictionary_url_;
91 91
92 // Keep a reference to the url request context to be sure it's not deleted 92 // Keep a reference to the url request context to be sure it's not deleted
93 // before us. 93 // before us.
94 scoped_refptr<URLRequestContext> context_; 94 scoped_refptr<URLRequestContext> context_;
95 95
96 // Indicated if an SDCH dictionary was advertised, and hence an SDCH
97 // compressed response is expected. We use this to help detect (accidental?)
98 // proxy corruption of a response, which sometimes marks SDCH content as
99 // having no content encoding <oops>.
100 bool sdch_dictionary_advertised_;
101
102 // For SDCH latency experiments, when we are able to do SDCH, we may enable
103 // either an SDCH latency test xor a pass through test. The following bools
104 // indicate what we decided on for this instance.
105 bool sdch_test_activated_; // Advertising a dictionary for sdch.
106 bool sdch_test_control_; // Not even accepting-content sdch.
107
96 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob); 108 DISALLOW_COPY_AND_ASSIGN(URLRequestHttpJob);
97 }; 109 };
98 110
99 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_ 111 #endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
OLDNEW
« no previous file with comments | « net/base/sdch_manager.cc ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698