Chromium Code Reviews| Index: chromecast/service/cast_service_simple.h |
| diff --git a/chromecast/service/cast_service_simple.h b/chromecast/service/cast_service_simple.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..55065b73f03dc577f2d04e9ef49e001e03dca216 |
| --- /dev/null |
| +++ b/chromecast/service/cast_service_simple.h |
| @@ -0,0 +1,40 @@ |
| +// Copyright 2014 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 CHROMECAST_SERVICE_CAST_SERVICE_SIMPLE_H_ |
| +#define CHROMECAST_SERVICE_CAST_SERVICE_SIMPLE_H_ |
| + |
| +#include "base/memory/scoped_ptr.h" |
| +#include "chromecast/service/cast_service.h" |
| + |
| +namespace aura { |
| +class WindowTreeHost; |
| +} |
| + |
| +namespace content { |
| +class WebContents; |
| +} |
| + |
| +namespace chromecast { |
| + |
| +class CastServiceSimple : public CastService { |
| + public: |
| + explicit CastServiceSimple(content::BrowserContext* browser_context); |
| + virtual ~CastServiceSimple(); |
| + |
| + protected: |
|
damienv1
2014/07/17 00:02:39
Should have the usual comment:
// CastService imp
gunsch
2014/07/17 04:33:37
Done.
|
| + virtual void Initialize() OVERRIDE; |
| + virtual void StartInternal() OVERRIDE; |
| + virtual void StopInternal() OVERRIDE; |
| + |
| + private: |
| + scoped_ptr<aura::WindowTreeHost> window_tree_host_; |
| + scoped_ptr<content::WebContents> web_contents_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(CastServiceSimple); |
| +}; |
| + |
| +} // namespace chromecast |
| + |
| +#endif // CHROMECAST_SERVICE_CAST_SERVICE_SIMPLE_H_ |