OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chromecast/browser/cast_http_user_agent_settings.h" | 5 #include "chromecast/browser/cast_http_user_agent_settings.h" |
6 | 6 |
7 #include "base/i18n/rtl.h" | 7 #include "base/i18n/rtl.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "chromecast/app/grit/chromecast_settings.h" |
10 #include "chromecast/common/cast_content_client.h" | 11 #include "chromecast/common/cast_content_client.h" |
11 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
12 #include "grit/chromecast_settings.h" | |
13 #include "net/http/http_util.h" | 13 #include "net/http/http_util.h" |
14 #include "ui/base/l10n/l10n_util.h" | 14 #include "ui/base/l10n/l10n_util.h" |
15 | 15 |
16 #if defined(OS_ANDROID) | 16 #if defined(OS_ANDROID) |
17 #include "base/android/locale_utils.h" | 17 #include "base/android/locale_utils.h" |
18 #endif // defined(OS_ANDROID) | 18 #endif // defined(OS_ANDROID) |
19 | 19 |
20 namespace chromecast { | 20 namespace chromecast { |
21 namespace shell { | 21 namespace shell { |
22 | 22 |
(...skipping 28 matching lines...) Expand all Loading... |
51 } | 51 } |
52 return accept_language_; | 52 return accept_language_; |
53 } | 53 } |
54 | 54 |
55 std::string CastHttpUserAgentSettings::GetUserAgent() const { | 55 std::string CastHttpUserAgentSettings::GetUserAgent() const { |
56 return chromecast::shell::GetUserAgent(); | 56 return chromecast::shell::GetUserAgent(); |
57 } | 57 } |
58 | 58 |
59 } // namespace shell | 59 } // namespace shell |
60 } // namespace chromecast | 60 } // namespace chromecast |
OLD | NEW |