summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/copresence/copresence_translations.h
diff options
context:
space:
mode:
authorrdevlin.cronin <rdevlin.cronin@chromium.org>2016-03-24 13:52:17 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-24 20:54:01 +0000
commit1cb4c0e1be53447096ae11f820bb408b71184682 (patch)
tree7c02b5e09c2c0c08a7faaf6e1eb1ef30aa23d013 /chrome/browser/extensions/api/copresence/copresence_translations.h
parent5ca8b4fa7b1f9d53be5f5f1a30b4cecf1c1c4fa5 (diff)
downloadchromium_src-1cb4c0e1be53447096ae11f820bb408b71184682.zip
chromium_src-1cb4c0e1be53447096ae11f820bb408b71184682.tar.gz
chromium_src-1cb4c0e1be53447096ae11f820bb408b71184682.tar.bz2
[Extensions] Convert APIs to use movable types [3]
Generated extensions code used to rely on linked_ptrs for non-copyable types in containers. Now, we can make these types movable. Update the following APIs to use movable types in this CL: - browser.idl - browsing_data.json - cast_devices_private.idl - cast_streaming_receiver_session.idl - cast_streaming_rtp_stream.idl - cast_streaming_session.idl - cast_streaming_udp_transport.idl - certificate_provider.idl - certificate_provider_internal.idl - chrome_web_view_internal.json - chromeos_info_private.json - cloud_print_private.json - command_line_private.json - commands.json - content_settings.json - context_menus.json - context_menus_internal.json - cookies.json - copresence.idl - copresence_private.idl BUG=595949 Review URL: https://codereview.chromium.org/1828683002 Cr-Commit-Position: refs/heads/master@{#383142}
Diffstat (limited to 'chrome/browser/extensions/api/copresence/copresence_translations.h')
-rw-r--r--chrome/browser/extensions/api/copresence/copresence_translations.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/extensions/api/copresence/copresence_translations.h b/chrome/browser/extensions/api/copresence/copresence_translations.h
index a0f9fd9..4903c62 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);