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

Unified Diff: content/browser/background_sync/background_sync_service_impl.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_service_impl.cc
diff --git a/content/browser/background_sync/background_sync_service_impl.cc b/content/browser/background_sync/background_sync_service_impl.cc
index a5b51bd2edf5916418b091a283f8012eb5bec144..6394a642b8bd3cf4067cce74d760bba325bcd9ef 100644
--- a/content/browser/background_sync/background_sync_service_impl.cc
+++ b/content/browser/background_sync/background_sync_service_impl.cc
@@ -127,7 +127,7 @@ void BackgroundSyncServiceImpl::GetRegistrations(
void BackgroundSyncServiceImpl::OnRegisterResult(
const RegisterCallback& callback,
BackgroundSyncStatus status,
- scoped_ptr<BackgroundSyncRegistration> result) {
+ std::unique_ptr<BackgroundSyncRegistration> result) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
if (status != BACKGROUND_SYNC_STATUS_OK) {
@@ -146,7 +146,8 @@ void BackgroundSyncServiceImpl::OnRegisterResult(
void BackgroundSyncServiceImpl::OnGetRegistrationsResult(
const GetRegistrationsCallback& callback,
BackgroundSyncStatus status,
- scoped_ptr<ScopedVector<BackgroundSyncRegistration>> result_registrations) {
+ std::unique_ptr<ScopedVector<BackgroundSyncRegistration>>
+ result_registrations) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
DCHECK(result_registrations);

Powered by Google App Engine
This is Rietveld 408576698