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

Unified Diff: chromecast/browser/cast_browser_context.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/android/cast_window_android.h ('k') | chromecast/browser/cast_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_browser_context.h
diff --git a/chromecast/browser/cast_browser_context.h b/chromecast/browser/cast_browser_context.h
index cd366d4792f1ad339ec90457171f5765585a0ff9..e9e13fc4f5354712c5ab313fa1b8c74b0b6e7b84 100644
--- a/chromecast/browser/cast_browser_context.h
+++ b/chromecast/browser/cast_browser_context.h
@@ -26,7 +26,7 @@ class CastBrowserContext : public content::BrowserContext {
~CastBrowserContext() override;
// BrowserContext implementation:
- scoped_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(
+ std::unique_ptr<content::ZoomLevelDelegate> CreateZoomLevelDelegate(
const base::FilePath& partition_path) override;
base::FilePath GetPath() const override;
bool IsOffTheRecord() const override;
@@ -65,9 +65,9 @@ class CastBrowserContext : public content::BrowserContext {
URLRequestContextFactory* const url_request_context_factory_;
base::FilePath path_;
- scoped_ptr<CastResourceContext> resource_context_;
- scoped_ptr<CastDownloadManagerDelegate> download_manager_delegate_;
- scoped_ptr<content::PermissionManager> permission_manager_;
+ std::unique_ptr<CastResourceContext> resource_context_;
+ std::unique_ptr<CastDownloadManagerDelegate> download_manager_delegate_;
+ std::unique_ptr<content::PermissionManager> permission_manager_;
DISALLOW_COPY_AND_ASSIGN(CastBrowserContext);
};
« no previous file with comments | « chromecast/browser/android/cast_window_android.h ('k') | chromecast/browser/cast_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698