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

Unified Diff: chrome/browser/ui/webui/site_settings_helper.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/ui/webui/site_settings_helper.h
diff --git a/chrome/browser/ui/webui/site_settings_helper.h b/chrome/browser/ui/webui/site_settings_helper.h
index a42a04a524c8ad59c81f6fb026402ae3707c0184..34c300d91d096446590e5b4aac89f567bc9f4b7c 100644
--- a/chrome/browser/ui/webui/site_settings_helper.h
+++ b/chrome/browser/ui/webui/site_settings_helper.h
@@ -6,9 +6,9 @@
#define CHROME_BROWSER_UI_WEBUI_SITE_SETTINGS_HELPER_H_
#include <map>
+#include <memory>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_pattern.h"
#include "components/content_settings/core/common/content_settings_types.h"
@@ -50,7 +50,7 @@ void GetExceptionsFromHostContentSettingsMap(
// for the content settings |type| mic or camera.
void GetPolicyAllowedUrls(
ContentSettingsType type,
- std::vector<scoped_ptr<base::DictionaryValue>>* exceptions,
+ std::vector<std::unique_ptr<base::DictionaryValue>>* exceptions,
content::WebUI* web_ui);
} // namespace site_settings
« no previous file with comments | « chrome/browser/ui/webui/signin/user_manager_screen_handler.cc ('k') | chrome/browser/ui/webui/site_settings_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698