Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "net/url_request/const_http_user_agent_settings.h" | |
| 6 | |
| 7 namespace net { | |
| 8 | |
| 9 ConstHttpUserAgentSettings::ConstHttpUserAgentSettings( | |
| 10 const std::string& accept_language, | |
| 11 const std::string& accept_charset, | |
| 12 const std::string& user_agent) | |
|
mmenke
2012/09/26 16:28:20
4-space indent.
| |
| 13 : ConstHttpAcceptLanguageAndCharset(accept_language, accept_charset), | |
| 14 user_agent_(user_agent) { | |
| 15 } | |
| 16 | |
| 17 const std::string& ConstHttpUserAgentSettings::GetUserAgent(const GURL& url) { | |
| 18 return user_agent_; | |
| 19 } | |
| 20 | |
| 21 } // namespace net | |
| 22 | |
| OLD | NEW |