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

Unified Diff: chromecast/shell/common/cast_content_client.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
« no previous file with comments | « chromecast/shell/browser/webui/webui_cast_simple.cc ('k') | chromecast/shell/common/cast_content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/shell/common/cast_content_client.h
diff --git a/chromecast/shell/common/cast_content_client.h b/chromecast/shell/common/cast_content_client.h
deleted file mode 100644
index e95677faf027252aef2c8d4dec6693b6dbe42f5d..0000000000000000000000000000000000000000
--- a/chromecast/shell/common/cast_content_client.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_COMMON_CAST_CONTENT_CLIENT_H_
-#define CHROMECAST_SHELL_COMMON_CAST_CONTENT_CLIENT_H_
-
-#include "content/public/common/content_client.h"
-
-namespace chromecast {
-namespace shell {
-
-std::string GetUserAgent();
-
-class CastContentClient : public content::ContentClient {
- public:
- virtual ~CastContentClient();
-
- // content::ContentClient implementation:
- virtual std::string GetUserAgent() const override;
- virtual base::string16 GetLocalizedString(int message_id) const override;
- virtual base::StringPiece GetDataResource(
- int resource_id,
- ui::ScaleFactor scale_factor) const override;
- virtual base::RefCountedStaticMemory* GetDataResourceBytes(
- int resource_id) const override;
- virtual gfx::Image& GetNativeImageNamed(int resource_id) const override;
-};
-
-} // namespace shell
-} // namespace chromecast
-
-#endif // CHROMECAST_SHELL_COMMON_CAST_CONTENT_CLIENT_H_
« no previous file with comments | « chromecast/shell/browser/webui/webui_cast_simple.cc ('k') | chromecast/shell/common/cast_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698