OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
6 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 6 #define REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 namespace remoting { | 55 namespace remoting { |
56 | 56 |
57 class ChromotingClient; | 57 class ChromotingClient; |
58 class ChromotingStats; | 58 class ChromotingStats; |
59 class ClientContext; | 59 class ClientContext; |
60 class DelegatingSignalStrategy; | 60 class DelegatingSignalStrategy; |
61 class FrameConsumer; | 61 class FrameConsumer; |
62 class FrameConsumerProxy; | 62 class FrameConsumerProxy; |
63 class PepperAudioPlayer; | 63 class PepperAudioPlayer; |
64 class PepperTokenFetcher; | 64 class TokenFetcherProxy; |
65 class PepperView; | 65 class PepperView; |
66 class RectangleUpdateDecoder; | 66 class RectangleUpdateDecoder; |
67 class SignalStrategy; | 67 class SignalStrategy; |
68 class VideoRenderer; | 68 class VideoRenderer; |
69 | 69 |
70 struct ClientConfig; | 70 struct ClientConfig; |
71 | 71 |
72 class ChromotingInstance : | 72 class ChromotingInstance : |
73 public ClientUserInterface, | 73 public ClientUserInterface, |
74 public MediaSourceVideoRenderer::Delegate, | 74 public MediaSourceVideoRenderer::Delegate, |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 | 287 |
288 // PIN Fetcher. | 288 // PIN Fetcher. |
289 bool use_async_pin_dialog_; | 289 bool use_async_pin_dialog_; |
290 protocol::SecretFetchedCallback secret_fetched_callback_; | 290 protocol::SecretFetchedCallback secret_fetched_callback_; |
291 | 291 |
292 // Set to true if the webapp has requested to use MediaSource API for | 292 // Set to true if the webapp has requested to use MediaSource API for |
293 // rendering. In that case all the encoded video will be passed to the | 293 // rendering. In that case all the encoded video will be passed to the |
294 // webapp for decoding. | 294 // webapp for decoding. |
295 bool use_media_source_rendering_; | 295 bool use_media_source_rendering_; |
296 | 296 |
297 base::WeakPtr<PepperTokenFetcher> pepper_token_fetcher_; | 297 base::WeakPtr<TokenFetcherProxy> token_fetcher_proxy_; |
298 | 298 |
299 // Weak reference to this instance, used for global logging and task posting. | 299 // Weak reference to this instance, used for global logging and task posting. |
300 base::WeakPtrFactory<ChromotingInstance> weak_factory_; | 300 base::WeakPtrFactory<ChromotingInstance> weak_factory_; |
301 | 301 |
302 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); | 302 DISALLOW_COPY_AND_ASSIGN(ChromotingInstance); |
303 }; | 303 }; |
304 | 304 |
305 } // namespace remoting | 305 } // namespace remoting |
306 | 306 |
307 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ | 307 #endif // REMOTING_CLIENT_PLUGIN_CHROMOTING_INSTANCE_H_ |
OLD | NEW |