Chromium Code Reviews| Index: net/url_request/const_http_accept_language_and_charset.cc |
| diff --git a/net/url_request/const_http_accept_language_and_charset.cc b/net/url_request/const_http_accept_language_and_charset.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2017387c466c610f4fc2f40b5889893ac2312b14 |
| --- /dev/null |
| +++ b/net/url_request/const_http_accept_language_and_charset.cc |
| @@ -0,0 +1,24 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "net/url_request/const_http_accept_language_and_charset.h" |
| + |
| +namespace net { |
| + |
| +ConstHttpAcceptLanguageAndCharset::ConstHttpAcceptLanguageAndCharset( |
| + const std::string& accept_language, const std::string& accept_charset) |
|
mmenke
2012/09/26 16:28:20
This should be indented 4 spaces (The indentation
|
| + : accept_language_(accept_language), |
| + accept_charset_(accept_charset) { |
| +} |
| + |
| +const std::string& ConstHttpAcceptLanguageAndCharset::GetAcceptLanguage() { |
| + return accept_language_; |
| +} |
| + |
| +const std::string& ConstHttpAcceptLanguageAndCharset::GetAcceptCharset() { |
| + return accept_charset_; |
| +} |
| + |
| +} // namespace net |
| + |