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

Unified Diff: chrome/common/net/url_request_intercept_job.cc

Issue 6639002: Put Filter into namespace net. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More copyright updates Created 9 years, 9 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/common/net/url_request_intercept_job.h ('k') | net/base/filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/url_request_intercept_job.cc
diff --git a/chrome/common/net/url_request_intercept_job.cc b/chrome/common/net/url_request_intercept_job.cc
index 89b0c554659f0c7e8c1d17111f8f56ad86573192..2397093519bc7f904b49de3fd683c55b4f5920cc 100644
--- a/chrome/common/net/url_request_intercept_job.cc
+++ b/chrome/common/net/url_request_intercept_job.cc
@@ -110,7 +110,7 @@ bool URLRequestInterceptJob::GetCharset(std::string* charset) {
}
bool URLRequestInterceptJob::GetContentEncodings(
- std::vector<Filter::FilterType>* encoding_types) {
+ std::vector<net::Filter::FilterType>* encoding_types) {
DCHECK(encoding_types->empty());
if (!request_->response_headers())
return false;
@@ -119,14 +119,15 @@ bool URLRequestInterceptJob::GetContentEncodings(
void* iter = NULL;
while (request_->response_headers()->EnumerateHeader(
&iter, "Content-Encoding", &encoding_type)) {
- encoding_types->push_back(Filter::ConvertEncodingToType(encoding_type));
+ encoding_types->push_back(
+ net::Filter::ConvertEncodingToType(encoding_type));
}
// Even if encoding types are empty, there is a chance that we need to add
// some decoding, as some proxies strip encoding completely. In such cases,
// we may need to add (for example) SDCH filtering (when the context suggests
// it is appropriate).
- Filter::FixupEncodingTypes(*this, encoding_types);
+ net::Filter::FixupEncodingTypes(*this, encoding_types);
return !encoding_types->empty();
}
« no previous file with comments | « chrome/common/net/url_request_intercept_job.h ('k') | net/base/filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698