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

Unified Diff: content/public/test/test_browser_context.cc

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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 | « content/public/test/test_browser_context.h ('k') | content/public/test/test_browser_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_browser_context.cc
diff --git a/content/public/test/test_browser_context.cc b/content/public/test/test_browser_context.cc
index 4e37e8bd9b0e800f43c7a54965a57e426eac8e06..55c16461de96cf1651f45fdef825e953d5676bad 100644
--- a/content/public/test/test_browser_context.cc
+++ b/content/public/test/test_browser_context.cc
@@ -62,7 +62,7 @@ void TestBrowserContext::SetSpecialStoragePolicy(
}
void TestBrowserContext::SetPermissionManager(
- scoped_ptr<PermissionManager> permission_manager) {
+ std::unique_ptr<PermissionManager> permission_manager) {
permission_manager_ = std::move(permission_manager);
}
@@ -70,9 +70,9 @@ base::FilePath TestBrowserContext::GetPath() const {
return browser_context_dir_.path();
}
-scoped_ptr<ZoomLevelDelegate> TestBrowserContext::CreateZoomLevelDelegate(
+std::unique_ptr<ZoomLevelDelegate> TestBrowserContext::CreateZoomLevelDelegate(
const base::FilePath& partition_path) {
- return scoped_ptr<ZoomLevelDelegate>();
+ return std::unique_ptr<ZoomLevelDelegate>();
}
bool TestBrowserContext::IsOffTheRecord() const {
« no previous file with comments | « content/public/test/test_browser_context.h ('k') | content/public/test/test_browser_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698