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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/job_event_router_unittest.cc

Issue 1870793002: Convert //chrome/browser/chromeos 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/chromeos/extensions/file_manager/job_event_router_unittest.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/job_event_router_unittest.cc b/chrome/browser/chromeos/extensions/file_manager/job_event_router_unittest.cc
index a6239fa30003fbf389a873836a804df46e6708f0..8b84ea5046100bc383428855892e8297bebcc5df 100644
--- a/chrome/browser/chromeos/extensions/file_manager/job_event_router_unittest.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/job_event_router_unittest.cc
@@ -46,7 +46,7 @@ class JobEventRouterImpl : public JobEventRouter {
const std::string& extension_id,
extensions::events::HistogramValue histogram_value,
const std::string& event_name,
- scoped_ptr<base::ListValue> event_args) override {
+ std::unique_ptr<base::ListValue> event_args) override {
const base::DictionaryValue* event;
event_args->GetDictionary(0, &event);
events.push_back(make_linked_ptr(event->DeepCopy()));
@@ -86,7 +86,7 @@ class JobEventRouterTest : public testing::Test {
return value;
}
- scoped_ptr<JobEventRouterImpl> job_event_router;
+ std::unique_ptr<JobEventRouterImpl> job_event_router;
private:
base::MessageLoop message_loop_;

Powered by Google App Engine
This is Rietveld 408576698