| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef CHROMECAST_UTILITY_CAST_CONTENT_UTILITY_CLIENT_H_ | 5 #ifndef CHROMECAST_UTILITY_CAST_CONTENT_UTILITY_CLIENT_H_ |
| 6 #define CHROMECAST_UTILITY_CAST_CONTENT_UTILITY_CLIENT_H_ | 6 #define CHROMECAST_UTILITY_CAST_CONTENT_UTILITY_CLIENT_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 9 |
| 8 #include "base/macros.h" | 10 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 #include "content/public/utility/content_utility_client.h" | 11 #include "content/public/utility/content_utility_client.h" |
| 11 | 12 |
| 12 namespace chromecast { | 13 namespace chromecast { |
| 13 namespace shell { | 14 namespace shell { |
| 14 | 15 |
| 15 class CastContentUtilityClient : public content::ContentUtilityClient { | 16 class CastContentUtilityClient : public content::ContentUtilityClient { |
| 16 public: | 17 public: |
| 17 static scoped_ptr<CastContentUtilityClient> Create(); | 18 static std::unique_ptr<CastContentUtilityClient> Create(); |
| 18 | 19 |
| 19 CastContentUtilityClient() {} | 20 CastContentUtilityClient() {} |
| 20 | 21 |
| 21 private: | 22 private: |
| 22 DISALLOW_COPY_AND_ASSIGN(CastContentUtilityClient); | 23 DISALLOW_COPY_AND_ASSIGN(CastContentUtilityClient); |
| 23 }; | 24 }; |
| 24 | 25 |
| 25 } // namespace shell | 26 } // namespace shell |
| 26 } // namespace chromecast | 27 } // namespace chromecast |
| 27 | 28 |
| 28 #endif // CHROMECAST_UTILITY_CAST_CONTENT_UTILITY_CLIENT_H_ | 29 #endif // CHROMECAST_UTILITY_CAST_CONTENT_UTILITY_CLIENT_H_ |
| OLD | NEW |