| Index: content/shell/shell_url_request_context_getter.cc
|
| diff --git a/content/shell/shell_url_request_context_getter.cc b/content/shell/shell_url_request_context_getter.cc
|
| index b8a6f03f483daa35956892dd848d5864a307839c..911622314e05bd46050f1e84da4ff9b25267dc48 100644
|
| --- a/content/shell/shell_url_request_context_getter.cc
|
| +++ b/content/shell/shell_url_request_context_getter.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/command_line.h"
|
| #include "base/logging.h"
|
| #include "base/string_split.h"
|
| +#include "base/string_util.h"
|
| #include "base/threading/worker_pool.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/shell/shell_network_delegate.h"
|
| @@ -63,8 +64,8 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() {
|
| storage_->set_server_bound_cert_service(new net::ServerBoundCertService(
|
| new net::DefaultServerBoundCertStore(NULL),
|
| base::WorkerPool::GetTaskRunner(true)));
|
| - url_request_context_->set_accept_language("en-us,en");
|
| - url_request_context_->set_accept_charset("iso-8859-1,*,utf-8");
|
| + storage_->set_http_user_agent_settings(new net::ConstHttpUserAgentSettings(
|
| + "en-us,en", "iso-8859-1,*,utf-8", EmptyString()));
|
|
|
| storage_->set_host_resolver(
|
| net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism,
|
|
|