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

Unified Diff: components/copresence/rpc/rpc_handler.cc

Issue 598053003: Switching to C++11 template syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: components/copresence/rpc/rpc_handler.cc
diff --git a/components/copresence/rpc/rpc_handler.cc b/components/copresence/rpc/rpc_handler.cc
index 50cd3625d05b9b306f986e490721e2d220eca8e2..79e22f2706dbee56395e43cfa437195b0291159d 100644
--- a/components/copresence/rpc/rpc_handler.cc
+++ b/components/copresence/rpc/rpc_handler.cc
@@ -488,7 +488,7 @@ void RpcHandler::DispatchMessages(
return;
// Index the messages by subscription id.
- std::map<std::string, std::vector<Message> > messages_by_subscription;
+ std::map<std::string, std::vector<Message>> messages_by_subscription;
DVLOG(3) << "Dispatching " << messages.size() << " messages";
for (int m = 0; m < messages.size(); ++m) {
const RepeatedPtrField<std::string>& subscription_ids =
@@ -500,7 +500,7 @@ void RpcHandler::DispatchMessages(
}
// Send the messages for each subscription.
- for (std::map<std::string, std::vector<Message> >::const_iterator
+ for (std::map<std::string, std::vector<Message>>::const_iterator
subscription = messages_by_subscription.begin();
subscription != messages_by_subscription.end();
++subscription) {
« no previous file with comments | « components/copresence/handlers/audio/audio_directive_handler.h ('k') | components/copresence/rpc/rpc_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698