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

Side by Side Diff: chromecast/utility/cast_content_utility_client.h

Issue 1875623002: Convert //chromecast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 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_
OLDNEW
« no previous file with comments | « chromecast/service/cast_service.h ('k') | chromecast/utility/cast_content_utility_client_simple.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698