| Index: chrome/service/remoting/chromoting_host_manager.h | 
| diff --git a/chrome/service/remoting/chromoting_host_manager.h b/chrome/service/remoting/chromoting_host_manager.h | 
| deleted file mode 100644 | 
| index 835512690206ee8ec413acb6207b3247f21b146e..0000000000000000000000000000000000000000 | 
| --- a/chrome/service/remoting/chromoting_host_manager.h | 
| +++ /dev/null | 
| @@ -1,92 +0,0 @@ | 
| -// 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_SERVICE_REMOTING_CHROMOTING_HOST_MANAGER_H_ | 
| -#define CHROME_SERVICE_REMOTING_CHROMOTING_HOST_MANAGER_H_ | 
| - | 
| -#include <string> | 
| - | 
| -#include "base/memory/ref_counted.h" | 
| -#include "base/memory/scoped_ptr.h" | 
| -#include "base/message_loop.h" | 
| -#include "remoting/host/chromoting_host.h" | 
| -#include "remoting/host/chromoting_host_context.h" | 
| -#include "remoting/host/host_config.h" | 
| - | 
| -namespace base { | 
| -class MessageLoopProxy; | 
| -}  // namespace base | 
| - | 
| -namespace remoting { | 
| - | 
| -struct ChromotingHostInfo; | 
| - | 
| -// ChromotingHostManager manages chromoting host. It loads config and updates | 
| -// config when necessary, and starts and stops the chromoting host. | 
| -class ChromotingHostManager | 
| -    : public base::RefCountedThreadSafe<ChromotingHostManager> { | 
| - public: | 
| - | 
| -  // Interface for observer that is notified about the host being | 
| -  // enabled/disabled. Observer is specified in the constructor. | 
| -  class Observer { | 
| -   public: | 
| -    virtual ~Observer() {} | 
| -    virtual void OnChromotingHostEnabled() = 0; | 
| -    virtual void OnChromotingHostDisabled() = 0; | 
| -  }; | 
| - | 
| -  // Caller keeps ownership of |observer|. |observer| must not be | 
| -  // destroyed while this object exists. | 
| -  explicit ChromotingHostManager(Observer* observer); | 
| - | 
| -  void Initialize(MessageLoopForUI* main_message_loop, | 
| -                  base::MessageLoopProxy* file_message_loop); | 
| - | 
| -  // Shutdown ChromotingHostManager. |done_task| will be executed when done. | 
| -  // This method must be called before ChromotingHostManager is destroyed. | 
| -  void Teardown(Task* done_task); | 
| - | 
| -  // Return the reference to the chromoting host only if it has started. | 
| -  remoting::ChromotingHost* GetChromotingHost() { return chromoting_host_; } | 
| - | 
| -  // Updates credentials used for XMPP connection. | 
| -  void SetCredentials(const std::string& login, const std::string& token); | 
| - | 
| -  bool IsEnabled(); | 
| - | 
| -  // Start running the chromoting host asynchronously. | 
| -  void Enable(); | 
| - | 
| -  // Stop chromoting host. The shutdown process will happen asynchronously. | 
| -  void Disable(); | 
| - | 
| -  void GetHostInfo(ChromotingHostInfo* host_info); | 
| - | 
| - private: | 
| -  friend class base::RefCountedThreadSafe<ChromotingHostManager>; | 
| -  virtual ~ChromotingHostManager(); | 
| - | 
| -  bool IsConfigInitialized(); | 
| -  void InitializeConfig(); | 
| - | 
| -  void SetEnabled(bool enabled); | 
| -  void Start(); | 
| -  void Stop(Task* done_task); | 
| - | 
| -  void OnShutdown(); | 
| - | 
| -  Observer* observer_; | 
| - | 
| -  scoped_refptr<remoting::MutableHostConfig> chromoting_config_; | 
| -  scoped_ptr<remoting::ChromotingHostContext> chromoting_context_; | 
| -  scoped_refptr<remoting::ChromotingHost> chromoting_host_; | 
| - | 
| -  MessageLoopForUI* main_message_loop_; | 
| -  scoped_ptr<Task> shutdown_task_; | 
| -}; | 
| - | 
| -}  // namespace remoting | 
| - | 
| -#endif  // CHROME_SERVICE_REMOTING_CHROMOTING_HOST_MANAGER_H_ | 
|  |