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

Side by Side Diff: remoting/client/plugin/pepper_signal_strategy.cc

Issue 17390010: Use a direct include of strings headers, delete some strings forwarding headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one less deleted file Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/http/http_response_headers.h ('k') | ui/app_list/cocoa/app_list_view_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/client/plugin/pepper_signal_strategy.h" 5 #include "remoting/client/plugin/pepper_signal_strategy.h"
6 6
7 #include "base/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" 8 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 PepperSignalStrategy::PepperSignalStrategy( 12 PepperSignalStrategy::PepperSignalStrategy(
13 std::string local_jid, 13 std::string local_jid,
14 const SendIqCallback& send_iq_callback) 14 const SendIqCallback& send_iq_callback)
15 : local_jid_(local_jid), 15 : local_jid_(local_jid),
16 send_iq_callback_(send_iq_callback), 16 send_iq_callback_(send_iq_callback),
17 last_id_(0) { 17 last_id_(0) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 send_iq_callback_.Run(stanza->Str()); 65 send_iq_callback_.Run(stanza->Str());
66 return true; 66 return true;
67 } 67 }
68 68
69 std::string PepperSignalStrategy::GetNextId() { 69 std::string PepperSignalStrategy::GetNextId() {
70 ++last_id_; 70 ++last_id_;
71 return base::IntToString(last_id_); 71 return base::IntToString(last_id_);
72 } 72 }
73 73
74 } // namespace remoting 74 } // namespace remoting
OLDNEW
« no previous file with comments | « net/http/http_response_headers.h ('k') | ui/app_list/cocoa/app_list_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698