OLD | NEW |
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 /** | 5 /** |
6 * @fileoverview Keeps track of all the existing PlayerInfo and | 6 * @fileoverview Keeps track of all the existing PlayerInfo and |
7 * audio stream objects and is the entry-point for messages from the backend. | 7 * audio stream objects and is the entry-point for messages from the backend. |
8 * | 8 * |
9 * The events captured by Manager (add, remove, update) are relayed | 9 * The events captured by Manager (add, remove, update) are relayed |
10 * to the clientRenderer which it can choose to use to modify the UI. | 10 * to the clientRenderer which it can choose to use to modify the UI. |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 this.players_[id].addProperty(timestamp, key, value); | 105 this.players_[id].addProperty(timestamp, key, value); |
106 this.clientRenderer_.playerUpdated(this.players_, | 106 this.clientRenderer_.playerUpdated(this.players_, |
107 this.players_[id], | 107 this.players_[id], |
108 key, | 108 key, |
109 value); | 109 value); |
110 } | 110 } |
111 }; | 111 }; |
112 | 112 |
113 return Manager; | 113 return Manager; |
114 }()); | 114 }()); |
OLD | NEW |