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

Unified Diff: dbus/object_proxy_unittest.cc

Issue 1867253002: Convert //dbus from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU fixes in //device 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 | « dbus/object_proxy.cc ('k') | dbus/property.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/object_proxy_unittest.cc
diff --git a/dbus/object_proxy_unittest.cc b/dbus/object_proxy_unittest.cc
index 05c1294349688978359ff7675bab848441c6c61d..cc79f849cdc583ddf3648ae8e8677dcbb16108b9 100644
--- a/dbus/object_proxy_unittest.cc
+++ b/dbus/object_proxy_unittest.cc
@@ -29,7 +29,7 @@ class ObjectProxyTest : public testing::Test {
};
// Used as a WaitForServiceToBeAvailableCallback.
-void OnServiceIsAvailable(scoped_ptr<base::RunLoop>* run_loop,
+void OnServiceIsAvailable(std::unique_ptr<base::RunLoop>* run_loop,
bool service_is_available) {
EXPECT_TRUE(service_is_available);
ASSERT_TRUE(*run_loop);
@@ -37,7 +37,7 @@ void OnServiceIsAvailable(scoped_ptr<base::RunLoop>* run_loop,
}
TEST_F(ObjectProxyTest, WaitForServiceToBeAvailable) {
- scoped_ptr<base::RunLoop> run_loop;
+ std::unique_ptr<base::RunLoop> run_loop;
TestService::Options options;
TestService test_service(options);
« no previous file with comments | « dbus/object_proxy.cc ('k') | dbus/property.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698