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

Unified Diff: chrome/browser/extensions/api/copresence/copresence_translations.h

Issue 1828683002: [Extensions] Convert APIs to use movable types [3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Antony's Created 4 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: chrome/browser/extensions/api/copresence/copresence_translations.h
diff --git a/chrome/browser/extensions/api/copresence/copresence_translations.h b/chrome/browser/extensions/api/copresence/copresence_translations.h
index a0f9fd9f4f7dc13a667cc53c073ac7328b21a0d0..4903c622c87a751cebddbead7fa12efec5b1b8e0 100644
--- a/chrome/browser/extensions/api/copresence/copresence_translations.h
+++ b/chrome/browser/extensions/api/copresence/copresence_translations.h
@@ -10,7 +10,6 @@
#include <vector>
#include "base/macros.h"
-#include "base/memory/linked_ptr.h"
#include "components/copresence/proto/enums.pb.h"
namespace copresence {
@@ -34,7 +33,7 @@ typedef std::map<std::string, std::string> SubscriptionToAppMap;
// Returns report request protocol buffer containing all the operations in the
// given vector. If parsing any of the operations fails, we return false.
bool PrepareReportRequestProto(
- const std::vector<linked_ptr<api::copresence::Operation>>& operations,
+ const std::vector<api::copresence::Operation>& operations,
const std::string& app_id,
SubscriptionToAppMap* apps_by_subscription_id,
copresence::ReportRequest* request);

Powered by Google App Engine
This is Rietveld 408576698