#ifndef REMOTING_HOST_CURTAIN_MODE_H_
#define REMOTING_HOST_CURTAIN_MODE_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
namespace base {
class SingleThreadTaskRunner;
}
namespace remoting {
class ClientSessionControl;
class CurtainMode {
public:
virtual ~CurtainMode() {}
static scoped_ptr<CurtainMode> Create(
scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
base::WeakPtr<ClientSessionControl> client_session_control);
virtual bool Activate() = 0;
protected:
CurtainMode() {}
private:
DISALLOW_COPY_AND_ASSIGN(CurtainMode);
};
}
#endif