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

Side by Side Diff: chromecast/browser/cast_http_user_agent_settings.cc

Issue 638803002: Reorganizes Chromecast code to better reflect functional dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extra DEPS: chromecast/crash/android --> chromecast/common Created 6 years, 2 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 unified diff | Download patch
OLDNEW
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/shell/browser/cast_http_user_agent_settings.h" 5 #include "chromecast/browser/cast_http_user_agent_settings.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chromecast/shell/common/cast_content_client.h" 8 #include "chromecast/common/cast_content_client.h"
9 #include "content/public/browser/browser_thread.h" 9 #include "content/public/browser/browser_thread.h"
10 #include "grit/chromecast_settings.h" 10 #include "grit/chromecast_settings.h"
11 #include "net/http/http_util.h" 11 #include "net/http/http_util.h"
12 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
13 13
14 #if defined(OS_ANDROID) 14 #if defined(OS_ANDROID)
15 #include "ui/base/l10n/l10n_util_android.h" 15 #include "ui/base/l10n/l10n_util_android.h"
16 #endif // defined(OS_ANDROID) 16 #endif // defined(OS_ANDROID)
17 17
18 namespace chromecast { 18 namespace chromecast {
(...skipping 20 matching lines...) Expand all
39 } 39 }
40 return accept_language_; 40 return accept_language_;
41 } 41 }
42 42
43 std::string CastHttpUserAgentSettings::GetUserAgent() const { 43 std::string CastHttpUserAgentSettings::GetUserAgent() const {
44 return chromecast::shell::GetUserAgent(); 44 return chromecast::shell::GetUserAgent();
45 } 45 }
46 46
47 } // namespace shell 47 } // namespace shell
48 } // namespace chromecast 48 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/browser/cast_http_user_agent_settings.h ('k') | chromecast/browser/cast_network_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698