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

Side by Side Diff: remoting/protocol/session_plugin.cc

Issue 2586403003: [Chromoting] Add SessionPlugin in JingleSession (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "remoting/base/constants.h"
6 #include "remoting/protocol/session_plugin.h"
7
8 using buzz::QName;
9 using buzz::XmlElement;
10
11 namespace remoting {
12 namespace protocol {
13
14 SessionPlugin::SessionPlugin() = default;
15
16 SessionPlugin::~SessionPlugin() = default;
17
18 // static
19 const XmlElement* SessionPlugin::FindAttachments(const buzz::XmlElement& tag) {
20 return tag.FirstNamed(QName(kChromotingXmlNamespace, "attachments"));
21 }
22
23 // static
24 std::unique_ptr<XmlElement> SessionPlugin::NewAttachments() {
25 return std::unique_ptr<XmlElement>(new XmlElement(
26 QName(kChromotingXmlNamespace, "attachments")));
27 }
28
29 } // namespace protocol
30 } // namespace remoting
OLDNEW
« remoting/protocol/session_plugin.h ('K') | « remoting/protocol/session_plugin.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698