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

Unified Diff: chrome/browser/ui/search/instant_extended_interactive_uitest.cc

Issue 1865213004: Convert //chrome/browser/ui 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/ui/search/instant_extended_interactive_uitest.cc
diff --git a/chrome/browser/ui/search/instant_extended_interactive_uitest.cc b/chrome/browser/ui/search/instant_extended_interactive_uitest.cc
index 6b94698a0e5f3eaf27fe416b0e5e3bc586715110..0354894d2aefe1e1c2f620bd7aa556f752c17a74 100644
--- a/chrome/browser/ui/search/instant_extended_interactive_uitest.cc
+++ b/chrome/browser/ui/search/instant_extended_interactive_uitest.cc
@@ -228,8 +228,7 @@ class InstantExtendedTest : public InProcessBrowserTest,
base::CancelableTaskTracker tracker;
history->ScheduleDBTask(
- scoped_ptr<history::HistoryDBTask>(
- new QuittingHistoryDBTask()),
+ std::unique_ptr<history::HistoryDBTask>(new QuittingHistoryDBTask()),
&tracker);
base::MessageLoop::current()->Run();
}
@@ -279,10 +278,10 @@ class InstantExtendedPrefetchTest : public InstantExtendedTest {
private:
// Used to instantiate FakeURLFetcherFactory.
- scoped_ptr<net::URLFetcherImplFactory> factory_;
+ std::unique_ptr<net::URLFetcherImplFactory> factory_;
// Used to mock default search provider suggest response.
- scoped_ptr<net::FakeURLFetcherFactory> fake_factory_;
+ std::unique_ptr<net::FakeURLFetcherFactory> fake_factory_;
DISALLOW_COPY_AND_ASSIGN(InstantExtendedPrefetchTest);
};
@@ -306,8 +305,8 @@ class InstantExtendedNetworkTest : public InstantExtendedTest {
}
private:
- scoped_ptr<net::NetworkChangeNotifier::DisableForTest> disable_for_test_;
- scoped_ptr<FakeNetworkChangeNotifier> fake_network_change_notifier_;
+ std::unique_ptr<net::NetworkChangeNotifier::DisableForTest> disable_for_test_;
+ std::unique_ptr<FakeNetworkChangeNotifier> fake_network_change_notifier_;
};
// Test class used to verify chrome-search: scheme and access policy from the
« no previous file with comments | « chrome/browser/ui/search/instant_controller.cc ('k') | chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698