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

Unified Diff: remoting/protocol/content_description.h

Issue 9240033: Use scoped_ptr<>.Pass() to pass ownership in the remoting protocol code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 11 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: remoting/protocol/content_description.h
diff --git a/remoting/protocol/content_description.h b/remoting/protocol/content_description.h
index 95ccf60566367df2d5a78d57688ffbe807279aea..cc66ac54a632852cd3e72e13ea14c5c7eddf91dc 100644
--- a/remoting/protocol/content_description.h
+++ b/remoting/protocol/content_description.h
@@ -28,9 +28,8 @@ class ContentDescription : public cricket::ContentDescription {
public:
static const char kChromotingContentName[];
- // Takes ownership of |config| and |authenticator_message|.
- ContentDescription(const CandidateSessionConfig* config,
- const buzz::XmlElement* authenticator_message);
+ ContentDescription(scoped_ptr<CandidateSessionConfig> config,
+ scoped_ptr<buzz::XmlElement> authenticator_message);
virtual ~ContentDescription();
const CandidateSessionConfig* config() const {

Powered by Google App Engine
This is Rietveld 408576698