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

Unified Diff: chrome/browser/ui/webui/popular_sites_internals_message_handler.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/popular_sites_internals_message_handler.h
diff --git a/chrome/browser/ui/webui/popular_sites_internals_message_handler.h b/chrome/browser/ui/webui/popular_sites_internals_message_handler.h
index 1801a92792ca391a8262c4b11e28b16e4f265f6f..741b1dbf1ca899984ce8ad247515e08a6ce27353 100644
--- a/chrome/browser/ui/webui/popular_sites_internals_message_handler.h
+++ b/chrome/browser/ui/webui/popular_sites_internals_message_handler.h
@@ -5,10 +5,10 @@
#ifndef CHROME_BROWSER_UI_WEBUI_POPULAR_SITES_INTERNALS_MESSAGE_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_POPULAR_SITES_INTERNALS_MESSAGE_HANDLER_H_
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "content/public/browser/web_ui_message_handler.h"
@@ -39,7 +39,7 @@ class PopularSitesInternalsMessageHandler
void OnPopularSitesAvailable(bool explicit_request, bool success);
- scoped_ptr<PopularSites> popular_sites_;
+ std::unique_ptr<PopularSites> popular_sites_;
base::WeakPtrFactory<PopularSitesInternalsMessageHandler> weak_ptr_factory_;
« no previous file with comments | « chrome/browser/ui/webui/policy_ui_handler.cc ('k') | chrome/browser/ui/webui/popular_sites_internals_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698