OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef CHROMECAST_SERVICE_CAST_SERVICE_SIMPLE_H_ | |
6 #define CHROMECAST_SERVICE_CAST_SERVICE_SIMPLE_H_ | |
7 | |
8 #include "base/memory/scoped_ptr.h" | |
9 #include "chromecast/service/cast_service.h" | |
10 | |
11 namespace aura { | |
12 class WindowTreeHost; | |
13 } | |
14 | |
15 namespace content { | |
16 class WebContents; | |
17 } | |
18 | |
19 namespace chromecast { | |
20 | |
21 class CastServiceSimple : public CastService { | |
22 public: | |
23 explicit CastServiceSimple(content::BrowserContext* browser_context); | |
24 virtual ~CastServiceSimple(); | |
25 | |
26 protected: | |
damienv1
2014/07/17 00:02:39
Should have the usual comment:
// CastService imp
gunsch
2014/07/17 04:33:37
Done.
| |
27 virtual void Initialize() OVERRIDE; | |
28 virtual void StartInternal() OVERRIDE; | |
29 virtual void StopInternal() OVERRIDE; | |
30 | |
31 private: | |
32 scoped_ptr<aura::WindowTreeHost> window_tree_host_; | |
33 scoped_ptr<content::WebContents> web_contents_; | |
34 | |
35 DISALLOW_COPY_AND_ASSIGN(CastServiceSimple); | |
36 }; | |
37 | |
38 } // namespace chromecast | |
39 | |
40 #endif // CHROMECAST_SERVICE_CAST_SERVICE_SIMPLE_H_ | |
OLD | NEW |