Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Side by Side Diff: chromecast/service/cast_service_simple.h

Issue 638803002: Reorganizes Chromecast code to better reflect functional dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extra DEPS: chromecast/crash/android --> chromecast/common Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromecast/service/cast_service_android.cc ('k') | chromecast/service/cast_service_simple.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 CastServiceSimple(content::BrowserContext* browser_context,
24 const OptInStatsChangedCallback& opt_in_stats_callback);
25 virtual ~CastServiceSimple();
26
27 protected:
28 // CastService implementation:
29 virtual void Initialize() override;
30 virtual void StartInternal() override;
31 virtual void StopInternal() override;
32
33 private:
34 scoped_ptr<aura::WindowTreeHost> window_tree_host_;
35 scoped_ptr<content::WebContents> web_contents_;
36
37 DISALLOW_COPY_AND_ASSIGN(CastServiceSimple);
38 };
39
40 } // namespace chromecast
41
42 #endif // CHROMECAST_SERVICE_CAST_SERVICE_SIMPLE_H_
OLDNEW
« no previous file with comments | « chromecast/service/cast_service_android.cc ('k') | chromecast/service/cast_service_simple.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698