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

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

Issue 2574673002: Removes ScopedVector from presentation_service_impl. (Closed)
Patch Set: Fixes test. 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
« no previous file with comments | « content/browser/presentation/presentation_service_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6f76bf102b368b5e48fdcbf83827ece26fd7e6e3..21bb68b32510ee26cca881a50e034f514f145c72 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_connection_message.h"
#include "content/public/browser/presentation_session.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 PresentationConnectionMessageCallback = base::Callback<
- void(const ScopedVector<content::PresentationConnectionMessage>&, bool)>;
+using PresentationConnectionMessageCallback = base::Callback<void(
+ const std::vector<std::unique_ptr<content::PresentationConnectionMessage>>&,
+ bool)>;
struct PresentationConnectionStateChangeInfo {
explicit PresentationConnectionStateChangeInfo(
« no previous file with comments | « content/browser/presentation/presentation_service_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698