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

Unified Diff: content/public/browser/presentation_service_delegate.h

Issue 2574673002: Removes ScopedVector from presentation_service_impl. (Closed)
Patch Set: Created 4 years 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/public/browser/presentation_service_delegate.h
diff --git a/content/public/browser/presentation_service_delegate.h b/content/public/browser/presentation_service_delegate.h
index 3588faf1ae883ce04c9c506b3d3e572f44252869..204fb7313f0361ed3ba91f03fec6166877201a07 100644
--- a/content/public/browser/presentation_service_delegate.h
+++ b/content/public/browser/presentation_service_delegate.h
@@ -10,7 +10,6 @@
#include <vector>
#include "base/callback.h"
-#include "base/memory/scoped_vector.h"
#include "content/common/content_export.h"
#include "content/public/browser/presentation_session.h"
#include "content/public/browser/presentation_session_message.h"
@@ -29,8 +28,9 @@ using PresentationSessionErrorCallback =
// Param #0: a vector of messages that are received.
// Param #1: tells the callback handler that it may reuse strings or buffers
// in the messages contained within param #0.
-using PresentationSessionMessageCallback = base::Callback<
- void(const ScopedVector<content::PresentationSessionMessage>&, bool)>;
+using PresentationSessionMessageCallback = base::Callback<void(
+ const std::vector<std::unique_ptr<content::PresentationSessionMessage>>&,
+ bool)>;
struct PresentationConnectionStateChangeInfo {
explicit PresentationConnectionStateChangeInfo(

Powered by Google App Engine
This is Rietveld 408576698