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

Unified Diff: chrome/browser/safe_browsing/download_protection_service_unittest.cc

Issue 1918083002: Convert //components/[f-n]* 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
Index: chrome/browser/safe_browsing/download_protection_service_unittest.cc
diff --git a/chrome/browser/safe_browsing/download_protection_service_unittest.cc b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
index cb6e9404043adb645e8f25ea8f6a543020470de6..8ae03fb89f6deff95311715705399fa64b4cd0ac 100644
--- a/chrome/browser/safe_browsing/download_protection_service_unittest.cc
+++ b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
@@ -1687,7 +1687,8 @@ TEST_F(DownloadProtectionServiceTest, TestDownloadItemDestroyed) {
TEST_F(DownloadProtectionServiceTest,
TestDownloadItemDestroyedDuringWhitelistCheck) {
net::TestURLFetcherFactory factory;
- scoped_ptr<content::MockDownloadItem> item(new content::MockDownloadItem);
+ std::unique_ptr<content::MockDownloadItem> item(
+ new content::MockDownloadItem);
PrepareBasicDownloadItem(
item.get(),
{"http://www.evil.com/bla.exe"}, // url_chain
« no previous file with comments | « chrome/browser/net/nss_context_chromeos_browsertest.cc ('k') | components/favicon/content/content_favicon_driver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698