Index: chromecast/shell/common/cast_content_client.h |
diff --git a/content/shell/common/shell_content_client.h b/chromecast/shell/common/cast_content_client.h |
similarity index 55% |
copy from content/shell/common/shell_content_client.h |
copy to chromecast/shell/common/cast_content_client.h |
index 5f9ab2f2ecd56eecc84a8ca0e92cb6967a59f360..2631864db9885a8588ded67f2b836db84148dcdd 100644 |
--- a/content/shell/common/shell_content_client.h |
+++ b/chromecast/shell/common/cast_content_client.h |
@@ -1,24 +1,22 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// 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 CONTENT_SHELL_COMMON_SHELL_CONTENT_CLIENT_H_ |
-#define CONTENT_SHELL_COMMON_SHELL_CONTENT_CLIENT_H_ |
+#ifndef CHROMECAST_SHELL_COMMON_CAST_CONTENT_CLIENT_H_ |
+#define CHROMECAST_SHELL_COMMON_CAST_CONTENT_CLIENT_H_ |
-#include <string> |
-#include <vector> |
- |
-#include "base/compiler_specific.h" |
#include "content/public/common/content_client.h" |
-namespace content { |
+namespace chromecast { |
+namespace shell { |
-std::string GetShellUserAgent(); |
+std::string GetUserAgent(); |
-class ShellContentClient : public ContentClient { |
+class CastContentClient : public content::ContentClient { |
public: |
- virtual ~ShellContentClient(); |
+ virtual ~CastContentClient(); |
+ // content::ContentClient implementation: |
virtual std::string GetUserAgent() const OVERRIDE; |
virtual base::string16 GetLocalizedString(int message_id) const OVERRIDE; |
virtual base::StringPiece GetDataResource( |
@@ -29,6 +27,7 @@ class ShellContentClient : public ContentClient { |
virtual gfx::Image& GetNativeImageNamed(int resource_id) const OVERRIDE; |
}; |
-} // namespace content |
+} // namespace shell |
+} // namespace chromecast |
-#endif // CONTENT_SHELL_COMMON_SHELL_CONTENT_CLIENT_H_ |
+#endif // CHROMECAST_SHELL_COMMON_CAST_CONTENT_CLIENT_H_ |