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

Side by Side Diff: chromeos/dbus/fake_upstart_client.h

Issue 2791983004: DBus MediaAnalyticsClient and media_perception pb. (Closed)
Patch Set: Changing the type of a couple vars to const. Created 3 years, 7 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 | « chromeos/dbus/fake_media_analytics_client.cc ('k') | chromeos/dbus/fake_upstart_client.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CHROMEOS_DBUS_FAKE_UPSTART_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_UPSTART_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_UPSTART_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_UPSTART_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 9
10 #include "chromeos/dbus/upstart_client.h" 10 #include "chromeos/dbus/upstart_client.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 class CHROMEOS_EXPORT FakeUpstartClient : public UpstartClient { 14 class CHROMEOS_EXPORT FakeUpstartClient : public UpstartClient {
15 public: 15 public:
16 FakeUpstartClient(); 16 FakeUpstartClient();
17 ~FakeUpstartClient() override; 17 ~FakeUpstartClient() override;
18 18
19 // DBusClient overrides. 19 // DBusClient overrides.
20 void Init(dbus::Bus* bus) override; 20 void Init(dbus::Bus* bus) override;
21 21
22 // UpstartClient overrides. 22 // UpstartClient overrides.
23 void StartAuthPolicyService() override; 23 void StartAuthPolicyService() override;
24 void RestartAuthPolicyService() override; 24 void RestartAuthPolicyService() override;
25 void StartMediaAnalytics(const UpstartCallback& callback) override;
26 void StopMediaAnalytics() override;
25 27
26 private: 28 private:
27 DISALLOW_COPY_AND_ASSIGN(FakeUpstartClient); 29 DISALLOW_COPY_AND_ASSIGN(FakeUpstartClient);
28 }; 30 };
29 31
30 } // namespace chromeos 32 } // namespace chromeos
31 33
32 #endif // CHROMEOS_DBUS_FAKE_UPSTART_CLIENT_H_ 34 #endif // CHROMEOS_DBUS_FAKE_UPSTART_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_media_analytics_client.cc ('k') | chromeos/dbus/fake_upstart_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698