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

Unified Diff: components/favicon/core/large_icon_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: components/favicon/core/large_icon_service_unittest.cc
diff --git a/components/favicon/core/large_icon_service_unittest.cc b/components/favicon/core/large_icon_service_unittest.cc
index c80a15fa5e0d1761d3eb0b3f0fcb563e04387394..41581139628caea686c4996d95680744f5e57702 100644
--- a/components/favicon/core/large_icon_service_unittest.cc
+++ b/components/favicon/core/large_icon_service_unittest.cc
@@ -5,11 +5,11 @@
#include "components/favicon/core/large_icon_service.h"
#include <deque>
+#include <memory>
#include "base/bind.h"
#include "base/macros.h"
#include "base/memory/ref_counted_memory.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/task/cancelable_task_tracker.h"
#include "components/favicon/core/favicon_client.h"
@@ -141,12 +141,13 @@ class LargeIconServiceTest : public testing::Test {
protected:
base::MessageLoopForIO loop_;
- scoped_ptr<MockFaviconService> mock_favicon_service_;
- scoped_ptr<TestLargeIconService> large_icon_service_;
+ std::unique_ptr<MockFaviconService> mock_favicon_service_;
+ std::unique_ptr<TestLargeIconService> large_icon_service_;
base::CancelableTaskTracker cancelable_task_tracker_;
favicon_base::FaviconRawBitmapResult expected_bitmap_;
- scoped_ptr<favicon_base::FallbackIconStyle> expected_fallback_icon_style_;
+ std::unique_ptr<favicon_base::FallbackIconStyle>
+ expected_fallback_icon_style_;
bool is_callback_invoked_;
« no previous file with comments | « components/favicon/core/large_icon_service.cc ('k') | components/favicon_base/fallback_icon_url_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698