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

Unified Diff: content/browser/background_sync/background_sync_service_impl.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_service_impl.h
diff --git a/content/browser/background_sync/background_sync_service_impl.h b/content/browser/background_sync/background_sync_service_impl.h
index 29ce8fa3f23a42d1c523c2352a2be63ebda3a66a..d31eeb376e1039a9c4cbb9fb228414b58a48e84c 100644
--- a/content/browser/background_sync/background_sync_service_impl.h
+++ b/content/browser/background_sync/background_sync_service_impl.h
@@ -7,10 +7,12 @@
#include <stdint.h>
+#include <memory>
+#include <vector>
+
#include "base/id_map.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_vector.h"
#include "content/browser/background_sync/background_sync_manager.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom.h"
@@ -44,7 +46,8 @@ class CONTENT_EXPORT BackgroundSyncServiceImpl
void OnGetRegistrationsResult(
const GetRegistrationsCallback& callback,
BackgroundSyncStatus status,
- std::unique_ptr<ScopedVector<BackgroundSyncRegistration>> result);
+ std::unique_ptr<std::vector<std::unique_ptr<BackgroundSyncRegistration>>>
+ result);
// Called when an error is detected on binding_.
void OnConnectionError();

Powered by Google App Engine
This is Rietveld 408576698