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

Unified Diff: content/browser/background_sync/background_sync_browsertest.cc

Issue 1874893002: Convert //content/browser 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
Index: content/browser/background_sync/background_sync_browsertest.cc
diff --git a/content/browser/background_sync/background_sync_browsertest.cc b/content/browser/background_sync/background_sync_browsertest.cc
index 4113137ef62d1d1bbe828e477decb46de6cf0833..e12f59e6b1f080a28e594306909d4acfd2dab527 100644
--- a/content/browser/background_sync/background_sync_browsertest.cc
+++ b/content/browser/background_sync/background_sync_browsertest.cc
@@ -72,7 +72,7 @@ void RegistrationPendingDidGetSyncRegistration(
const std::string& tag,
const base::Callback<void(bool)>& callback,
BackgroundSyncStatus error_type,
- scoped_ptr<ScopedVector<BackgroundSyncRegistration>> registrations) {
+ std::unique_ptr<ScopedVector<BackgroundSyncRegistration>> registrations) {
ASSERT_EQ(BACKGROUND_SYNC_STATUS_OK, error_type);
// Find the right registration in the list and check its status.
for (const BackgroundSyncRegistration* registration : *registrations) {
@@ -207,7 +207,7 @@ class BackgroundSyncBrowserTest : public ContentBrowserTest {
net::EmbeddedTestServer* https_server() { return https_server_.get(); }
private:
- scoped_ptr<net::EmbeddedTestServer> https_server_;
+ std::unique_ptr<net::EmbeddedTestServer> https_server_;
Shell* shell_ = nullptr;
DISALLOW_COPY_AND_ASSIGN(BackgroundSyncBrowserTest);
« no previous file with comments | « content/browser/appcache/mock_appcache_storage.h ('k') | content/browser/background_sync/background_sync_context_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698