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

Unified Diff: components/arc/test/fake_app_instance.h

Issue 1921973002: Convert //components/[a-e]* 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
« no previous file with comments | « components/arc/standalone/service_helper_unittest.cc ('k') | components/audio_modem/audio_player_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/test/fake_app_instance.h
diff --git a/components/arc/test/fake_app_instance.h b/components/arc/test/fake_app_instance.h
index ca34d04c73422746f15a9bcc7ad49c4d0282826a..a30e79e5b892678f7992839c6d58fa077e7d8403 100644
--- a/components/arc/test/fake_app_instance.h
+++ b/components/arc/test/fake_app_instance.h
@@ -6,11 +6,11 @@
#define COMPONENTS_ARC_TEST_FAKE_APP_INSTANCE_H_
#include <map>
+#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
#include "components/arc/common/app.mojom.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -117,7 +117,7 @@ class FakeAppInstance : public mojom::AppInstance {
void WaitForOnAppInstanceReady();
private:
- using TaskIdToInfo = std::map<int32_t, scoped_ptr<Request>>;
+ using TaskIdToInfo = std::map<int32_t, std::unique_ptr<Request>>;
// Mojo endpoints.
mojo::Binding<mojom::AppInstance> binding_;
mojom::AppHost* app_host_;
« no previous file with comments | « components/arc/standalone/service_helper_unittest.cc ('k') | components/audio_modem/audio_player_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698