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

Unified Diff: chrome/browser/content_settings/host_content_settings_map_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/content_settings/host_content_settings_map_unittest.cc
diff --git a/chrome/browser/content_settings/host_content_settings_map_unittest.cc b/chrome/browser/content_settings/host_content_settings_map_unittest.cc
index dfad14c50092a53ad2bf772a5b91ca7e0c37f064..13fd5799ed599ef7d03c056a91a2300f8a9fec53 100644
--- a/chrome/browser/content_settings/host_content_settings_map_unittest.cc
+++ b/chrome/browser/content_settings/host_content_settings_map_unittest.cc
@@ -99,10 +99,9 @@ class TesterForType {
const std::string& url_str) {
GURL url(url_str);
content_settings::SettingInfo setting_info;
- scoped_ptr<base::Value> result =
+ std::unique_ptr<base::Value> result =
host_content_settings_map_->GetWebsiteSetting(
- url, url, content_type_, std::string(),
- &setting_info);
+ url, url, content_type_, std::string(), &setting_info);
return setting_info.source;
};
« no previous file with comments | « chrome/browser/chromeos/net/wake_on_wifi_manager_unittest.cc ('k') | chrome/browser/net/nss_context_chromeos_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698