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

Unified Diff: remoting/protocol/jingle_session_manager.cc

Issue 5298001: Use VP8 over PseudoTCP by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years, 1 month 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/jingle_session_manager.cc
diff --git a/remoting/protocol/jingle_session_manager.cc b/remoting/protocol/jingle_session_manager.cc
index e5e17bf01977d47df6cc7b4e12e8710c8348a49f..293a06f448cc3f7c88e30bac3abeb995f3137026 100644
--- a/remoting/protocol/jingle_session_manager.cc
+++ b/remoting/protocol/jingle_session_manager.cc
@@ -359,7 +359,7 @@ bool JingleSessionManager::ParseContent(
ChannelConfig channel_config;
if (!ParseChannelConfig(child, false, &channel_config))
return false;
- config->AddControlConfig(channel_config);
+ config->mutable_control_configs()->push_back(channel_config);
child = element->NextNamed(control_tag);
}
@@ -370,7 +370,7 @@ bool JingleSessionManager::ParseContent(
ChannelConfig channel_config;
if (!ParseChannelConfig(child, false, &channel_config))
return false;
- config->AddEventConfig(channel_config);
+ config->mutable_event_configs()->push_back(channel_config);
child = element->NextNamed(event_tag);
}
@@ -381,7 +381,7 @@ bool JingleSessionManager::ParseContent(
ChannelConfig channel_config;
if (!ParseChannelConfig(child, true, &channel_config))
return false;
- config->AddVideoConfig(channel_config);
+ config->mutable_video_configs()->push_back(channel_config);
child = element->NextNamed(video_tag);
}
@@ -402,7 +402,7 @@ bool JingleSessionManager::ParseContent(
return false;
}
- config->SetInitialResolution(resolution);
+ *config->mutable_initial_resolution() = resolution;
*content = new ContentDescription(config.release());
return true;

Powered by Google App Engine
This is Rietveld 408576698