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

Unified Diff: chromecast/browser/service/cast_service_simple.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/browser/pref_service_helper.cc ('k') | chromecast/browser/test/chromecast_browser_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/service/cast_service_simple.h
diff --git a/chromecast/browser/service/cast_service_simple.h b/chromecast/browser/service/cast_service_simple.h
index ad75f301b4289439117b5328dcba217a93d1562e..f40cc867b2a96d9d3985a29695d9b231f40b0162 100644
--- a/chromecast/browser/service/cast_service_simple.h
+++ b/chromecast/browser/service/cast_service_simple.h
@@ -5,8 +5,9 @@
#ifndef CHROMECAST_BROWSER_SERVICE_CAST_SERVICE_SIMPLE_H_
#define CHROMECAST_BROWSER_SERVICE_CAST_SERVICE_SIMPLE_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chromecast/service/cast_service.h"
#include "url/gurl.h"
@@ -32,8 +33,8 @@ class CastServiceSimple : public CastService {
void StopInternal() override;
private:
- scoped_ptr<CastContentWindow> window_;
- scoped_ptr<content::WebContents> web_contents_;
+ std::unique_ptr<CastContentWindow> window_;
+ std::unique_ptr<content::WebContents> web_contents_;
GURL startup_url_;
DISALLOW_COPY_AND_ASSIGN(CastServiceSimple);
« no previous file with comments | « chromecast/browser/pref_service_helper.cc ('k') | chromecast/browser/test/chromecast_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698