Protocol plumbing for audio toggle.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11192042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162637 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/remoting/proto/control.proto b/remoting/proto/control.proto
index ebe0358..20f0b9d 100644
--- a/remoting/proto/control.proto
+++ b/remoting/proto/control.proto
@@ -21,6 +21,11 @@
optional bool enable = 1;
}
+message AudioControl {
+ // Enables the audio channel if true, pauses if false.
+ optional bool enable = 1;
+}
+
message CursorShapeInfo {
// Width, height (in screen pixels) of the cursor.
optional int32 width = 1;
diff --git a/remoting/proto/internal.proto b/remoting/proto/internal.proto
index 4e68d7d7..323b740 100644
--- a/remoting/proto/internal.proto
+++ b/remoting/proto/internal.proto
@@ -20,6 +20,7 @@
optional ClientDimensions client_dimensions = 2;
optional CursorShapeInfo cursor_shape = 4;
optional VideoControl video_control = 3;
+ optional AudioControl audio_control = 5;
}
// Defines an event message on the event channel.