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

Unified Diff: content/browser/background_sync/background_sync_manager.h

Issue 2752533003: Remove ScopedVector from content/browser/. (Closed)
Patch Set: Created 3 years, 9 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_manager.h
diff --git a/content/browser/background_sync/background_sync_manager.h b/content/browser/background_sync/background_sync_manager.h
index f31a83a72910d4bd4c9f404853117ae4a45d6fb5..4743f9810b37e94276439cb376040df94139fc99 100644
--- a/content/browser/background_sync/background_sync_manager.h
+++ b/content/browser/background_sync/background_sync_manager.h
@@ -17,7 +17,6 @@
#include "base/callback_forward.h"
#include "base/cancelable_callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "base/time/clock.h"
#include "content/browser/background_sync/background_sync.pb.h"
@@ -59,9 +58,10 @@ class CONTENT_EXPORT BackgroundSyncManager
using StatusAndRegistrationCallback =
base::Callback<void(BackgroundSyncStatus,
std::unique_ptr<BackgroundSyncRegistration>)>;
- using StatusAndRegistrationsCallback = base::Callback<void(
- BackgroundSyncStatus,
- std::unique_ptr<ScopedVector<BackgroundSyncRegistration>>)>;
+ using StatusAndRegistrationsCallback =
+ base::Callback<void(BackgroundSyncStatus,
+ std::unique_ptr<std::vector<
+ std::unique_ptr<BackgroundSyncRegistration>>>)>;
static std::unique_ptr<BackgroundSyncManager> Create(
scoped_refptr<ServiceWorkerContextWrapper> service_worker_context);

Powered by Google App Engine
This is Rietveld 408576698