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

Unified Diff: ui/events/ozone/evdev/event_converter_test_util.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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: ui/events/ozone/evdev/event_converter_test_util.h
diff --git a/ui/events/ozone/evdev/event_converter_test_util.h b/ui/events/ozone/evdev/event_converter_test_util.h
index ad01c758e405998246b3a1d29d48cdc226f36e4e..e324409b7e2110796cc5e37c68dc4eeb92a80c5e 100644
--- a/ui/events/ozone/evdev/event_converter_test_util.h
+++ b/ui/events/ozone/evdev/event_converter_test_util.h
@@ -5,7 +5,7 @@
#ifndef UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_
#define UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
#include "ui/events/ozone/evdev/event_dispatch_callback.h"
@@ -17,16 +17,16 @@ class DeviceEventDispatcherEvdev;
class EventFactoryEvdev;
class KeyboardLayoutEngine;
-scoped_ptr<DeviceManager> CreateDeviceManagerForTest();
+std::unique_ptr<DeviceManager> CreateDeviceManagerForTest();
-scoped_ptr<EventFactoryEvdev> CreateEventFactoryEvdevForTest(
+std::unique_ptr<EventFactoryEvdev> CreateEventFactoryEvdevForTest(
CursorDelegateEvdev* cursor,
DeviceManager* device_manager,
KeyboardLayoutEngine* keyboard_layout_engine,
const EventDispatchCallback& callback);
-scoped_ptr<DeviceEventDispatcherEvdev> CreateDeviceEventDispatcherEvdevForTest(
- EventFactoryEvdev* event_factory);
+std::unique_ptr<DeviceEventDispatcherEvdev>
+CreateDeviceEventDispatcherEvdevForTest(EventFactoryEvdev* event_factory);
} // namespace ui
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc ('k') | ui/events/ozone/evdev/event_converter_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698