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

Unified Diff: chromecast/shell/browser/cast_http_user_agent_settings.h

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 side-by-side diff with in-line comments
Download patch
Index: chromecast/shell/browser/cast_http_user_agent_settings.h
diff --git a/chromecast/shell/browser/cast_http_user_agent_settings.h b/chromecast/shell/browser/cast_http_user_agent_settings.h
deleted file mode 100644
index 7cf4bb263142ffc2f5cb6715d773b5bfbbc4251e..0000000000000000000000000000000000000000
--- a/chromecast/shell/browser/cast_http_user_agent_settings.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2014 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.
-
-#ifndef CHROMECAST_SHELL_BROWSER_CAST_HTTP_USER_AGENT_SETTINGS_H_
-#define CHROMECAST_SHELL_BROWSER_CAST_HTTP_USER_AGENT_SETTINGS_H_
-
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-#include "base/prefs/pref_member.h"
-#include "net/url_request/http_user_agent_settings.h"
-
-namespace chromecast {
-namespace shell {
-
-class CastHttpUserAgentSettings : public net::HttpUserAgentSettings {
- public:
- CastHttpUserAgentSettings();
- virtual ~CastHttpUserAgentSettings();
-
- // net::HttpUserAgentSettings implementation:
- virtual std::string GetAcceptLanguage() const override;
- virtual std::string GetUserAgent() const override;
-
- private:
- mutable std::string accept_language_;
-
- DISALLOW_COPY_AND_ASSIGN(CastHttpUserAgentSettings);
-};
-
-} // namespace shell
-} // namespace chromecast
-#endif // CHROMECAST_SHELL_BROWSER_CAST_HTTP_USER_AGENT_SETTINGS_H_
« no previous file with comments | « chromecast/shell/browser/cast_download_manager_delegate.cc ('k') | chromecast/shell/browser/cast_http_user_agent_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698