1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROMECAST_SERVICE_CAST_SERVICE_SIMPLE_H_
6 #define CHROMECAST_SERVICE_CAST_SERVICE_SIMPLE_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "chromecast/service/cast_service.h"
19 namespace chromecast
{
21 class CastServiceSimple
: public CastService
{
23 explicit CastServiceSimple(content::BrowserContext
* browser_context
);
24 virtual ~CastServiceSimple();
27 // CastService implementation.
28 virtual void Initialize() OVERRIDE
;
29 virtual void StartInternal() OVERRIDE
;
30 virtual void StopInternal() OVERRIDE
;
33 scoped_ptr
<aura::WindowTreeHost
> window_tree_host_
;
34 scoped_ptr
<content::WebContents
> web_contents_
;
36 DISALLOW_COPY_AND_ASSIGN(CastServiceSimple
);
39 } // namespace chromecast
41 #endif // CHROMECAST_SERVICE_CAST_SERVICE_SIMPLE_H_