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

Unified Diff: content/browser/browser_context.cc

Issue 1874893002: Convert //content/browser 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 | « content/browser/browser_child_process_host_impl.h ('k') | content/browser/browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index 4b8396ed03e1ce529fab70fa38cc2ea8b92f0198..4e43792dc49378517c9ed82bf0ad8ffac87c36e2 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -123,9 +123,9 @@ void BrowserContext::AsyncObliterateStoragePartition(
// static
void BrowserContext::GarbageCollectStoragePartitions(
- BrowserContext* browser_context,
- scoped_ptr<base::hash_set<base::FilePath> > active_paths,
- const base::Closure& done) {
+ BrowserContext* browser_context,
+ std::unique_ptr<base::hash_set<base::FilePath>> active_paths,
+ const base::Closure& done) {
GetStoragePartitionMap(browser_context)
->GarbageCollect(std::move(active_paths), done);
}
« no previous file with comments | « content/browser/browser_child_process_host_impl.h ('k') | content/browser/browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698