Fix some lint errors in url_request_context_adapter
[chromium-blink-merge.git] / chromecast / browser / service / cast_service_simple.h
blob4939e5d760855e6d55ee5c7a1a0f2085ca26fae0
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_BROWSER_SERVICE_CAST_SERVICE_SIMPLE_H_
6 #define CHROMECAST_BROWSER_SERVICE_CAST_SERVICE_SIMPLE_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "chromecast/browser/service/cast_service.h"
11 namespace aura {
12 class WindowTreeHost;
15 namespace content {
16 class WebContents;
19 namespace chromecast {
21 class CastServiceSimple : public CastService {
22 public:
23 CastServiceSimple(content::BrowserContext* browser_context,
24 const OptInStatsChangedCallback& opt_in_stats_callback);
25 virtual ~CastServiceSimple();
27 protected:
28 // CastService implementation:
29 virtual void Initialize() override;
30 virtual void StartInternal() override;
31 virtual void StopInternal() override;
33 private:
34 scoped_ptr<aura::WindowTreeHost> window_tree_host_;
35 scoped_ptr<content::WebContents> web_contents_;
37 DISALLOW_COPY_AND_ASSIGN(CastServiceSimple);
40 } // namespace chromecast
42 #endif // CHROMECAST_BROWSER_SERVICE_CAST_SERVICE_SIMPLE_H_