Chromium Code Reviews| Index: chrome/browser/remoting/remoting_options_handler.h |
| diff --git a/chrome/browser/remoting/remoting_options_handler.h b/chrome/browser/remoting/remoting_options_handler.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..68297a006b2fa45d96bdd1f5bd3bc8102ec51dbd |
| --- /dev/null |
| +++ b/chrome/browser/remoting/remoting_options_handler.h |
| @@ -0,0 +1,37 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_REMOTING_REMOTING_OPTIONS_HANDLER_H_ |
| +#define CHROME_BROWSER_REMOTING_REMOTING_OPTIONS_HANDLER_H_ |
| + |
| +#include "chrome/browser/service/service_process_control.h" |
| + |
| +class DOMUI; |
| + |
| +namespace remoting { |
| + |
| +class RemotingOptionsHandler |
|
Alpha Left Google
2011/01/11 23:02:46
Comments needed for this class. More importantly I
Sergey Ulanov
2011/01/12 21:43:23
Done.
|
| + : public ServiceProcessControl::MessageHandler { |
| + public: |
| + RemotingOptionsHandler(); |
| + virtual ~RemotingOptionsHandler(); |
| + |
| + void Init(DOMUI* dom_ui); |
| + |
| + // ServiceProcessControl::MessageHandler interface. |
| + virtual void OnRemotingHostInfo( |
| + const remoting::ChromotingHostInfo& host_info); |
| + |
| + private: |
| + void SetStatus(bool enabled, const std::string& login); |
| + |
| + DOMUI* dom_ui_; |
| + ServiceProcessControl* process_control_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(RemotingOptionsHandler); |
| +}; |
| + |
| +} // namespace remoting |
| + |
| +#endif // CHROME_BROWSER_REMOTING_REMOTING_OPTIONS_HANDLER_H_ |