Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROMECAST_SERVICE_CAST_SERVICE_H_ | 5 #ifndef CHROMECAST_SERVICE_CAST_SERVICE_H_ |
| 6 #define CHROMECAST_SERVICE_CAST_SERVICE_H_ | 6 #define CHROMECAST_SERVICE_CAST_SERVICE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 | 10 |
| 11 namespace base { | 11 namespace base { |
| 12 class ThreadChecker; | 12 class ThreadChecker; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace content{ | 15 namespace content{ |
| 16 class BrowserContext; | 16 class BrowserContext; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace chromecast { | 19 namespace chromecast { |
| 20 class CastNetworkDelegate; | |
|
lcwu1
2014/09/25 18:53:18
This forward decl is no longer needed.
gunsch
2014/09/25 19:24:59
Done.
| |
| 20 | 21 |
| 21 class CastService { | 22 class CastService { |
| 22 public: | 23 public: |
| 23 static CastService* Create(content::BrowserContext* browser_context); | 24 static CastService* Create(content::BrowserContext* browser_context); |
| 24 | 25 |
| 25 virtual ~CastService(); | 26 virtual ~CastService(); |
| 26 | 27 |
| 27 // Start/stop the cast service. | 28 // Start/stop the cast service. |
| 28 void Start(); | 29 void Start(); |
| 29 void Stop(); | 30 void Stop(); |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 43 bool stopped_; | 44 bool stopped_; |
| 44 | 45 |
| 45 const scoped_ptr<base::ThreadChecker> thread_checker_; | 46 const scoped_ptr<base::ThreadChecker> thread_checker_; |
| 46 | 47 |
| 47 DISALLOW_COPY_AND_ASSIGN(CastService); | 48 DISALLOW_COPY_AND_ASSIGN(CastService); |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 } // namespace chromecast | 51 } // namespace chromecast |
| 51 | 52 |
| 52 #endif // CHROMECAST_SERVICE_CAST_SERVICE_H_ | 53 #endif // CHROMECAST_SERVICE_CAST_SERVICE_H_ |
| OLD | NEW |