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

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

Issue 608093002: Chromecast: adds callback for CastService to control metrics state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cast-network-delegate
Patch Set: rebase 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.cc ('k') | chromecast/service/cast_service_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_ANDROID_H_ 5 #ifndef CHROMECAST_SERVICE_CAST_SERVICE_ANDROID_H_
6 #define CHROMECAST_SERVICE_CAST_SERVICE_ANDROID_H_ 6 #define CHROMECAST_SERVICE_CAST_SERVICE_ANDROID_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chromecast/service/cast_service.h" 9 #include "chromecast/service/cast_service.h"
10 10
11 namespace chromecast { 11 namespace chromecast {
12 12
13 class CastServiceAndroid : public CastService { 13 class CastServiceAndroid : public CastService {
14 public: 14 public:
15 explicit CastServiceAndroid(content::BrowserContext* browser_context); 15 CastServiceAndroid(content::BrowserContext* browser_context,
16 const OptInStatsChangedCallback& opt_in_stats_callback);
16 virtual ~CastServiceAndroid(); 17 virtual ~CastServiceAndroid();
17 18
18 protected: 19 protected:
19 // CastService implementation. 20 // CastService implementation.
20 virtual void Initialize() OVERRIDE; 21 virtual void Initialize() OVERRIDE;
21 virtual void StartInternal() OVERRIDE; 22 virtual void StartInternal() OVERRIDE;
22 virtual void StopInternal() OVERRIDE; 23 virtual void StopInternal() OVERRIDE;
23 24
24 private: 25 private:
25 DISALLOW_COPY_AND_ASSIGN(CastServiceAndroid); 26 DISALLOW_COPY_AND_ASSIGN(CastServiceAndroid);
26 }; 27 };
27 28
28 } // namespace chromecast 29 } // namespace chromecast
29 30
30 #endif // CHROMECAST_SERVICE_CAST_SERVICE_ANDROID_H_ 31 #endif // CHROMECAST_SERVICE_CAST_SERVICE_ANDROID_H_
OLDNEW
« no previous file with comments | « chromecast/service/cast_service.cc ('k') | chromecast/service/cast_service_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698