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

Side by Side Diff: chromeos/dbus/dbus_clients_browser.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/BUILD.gn ('k') | chromeos/dbus/dbus_clients_browser.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_DBUS_CLIENTS_BROWSER_H_ 5 #ifndef CHROMEOS_DBUS_DBUS_CLIENTS_BROWSER_H_
6 #define CHROMEOS_DBUS_DBUS_CLIENTS_BROWSER_H_ 6 #define CHROMEOS_DBUS_DBUS_CLIENTS_BROWSER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chromeos/chromeos_export.h" 11 #include "chromeos/chromeos_export.h"
12 12
13 namespace dbus { 13 namespace dbus {
14 class Bus; 14 class Bus;
15 } 15 }
16 16
17 namespace chromeos { 17 namespace chromeos {
18 18
19 class ArcObbMounterClient; 19 class ArcObbMounterClient;
20 class AuthPolicyClient; 20 class AuthPolicyClient;
21 class CrosDisksClient; 21 class CrosDisksClient;
22 class DebugDaemonClient; 22 class DebugDaemonClient;
23 class EasyUnlockClient; 23 class EasyUnlockClient;
24 class ImageBurnerClient; 24 class ImageBurnerClient;
25 class ImageLoaderClient; 25 class ImageLoaderClient;
26 class LorgnetteManagerClient; 26 class LorgnetteManagerClient;
27 class MediaAnalyticsClient;
27 class UpstartClient; 28 class UpstartClient;
28 29
29 // D-Bus clients used only in the browser process. 30 // D-Bus clients used only in the browser process.
30 // TODO(jamescook): Move this under //chrome/browser. http://crbug.com/647367 31 // TODO(jamescook): Move this under //chrome/browser. http://crbug.com/647367
31 class CHROMEOS_EXPORT DBusClientsBrowser { 32 class CHROMEOS_EXPORT DBusClientsBrowser {
32 public: 33 public:
33 // Creates real implementations if |use_real_clients| is true and fakes 34 // Creates real implementations if |use_real_clients| is true and fakes
34 // otherwise. Fakes are used when running on Linux desktop and in tests. 35 // otherwise. Fakes are used when running on Linux desktop and in tests.
35 explicit DBusClientsBrowser(bool use_real_clients); 36 explicit DBusClientsBrowser(bool use_real_clients);
36 ~DBusClientsBrowser(); 37 ~DBusClientsBrowser();
37 38
38 void Initialize(dbus::Bus* system_bus); 39 void Initialize(dbus::Bus* system_bus);
39 40
40 private: 41 private:
41 friend class DBusThreadManager; 42 friend class DBusThreadManager;
42 friend class DBusThreadManagerSetter; 43 friend class DBusThreadManagerSetter;
43 44
44 std::unique_ptr<ArcObbMounterClient> arc_obb_mounter_client_; 45 std::unique_ptr<ArcObbMounterClient> arc_obb_mounter_client_;
45 std::unique_ptr<AuthPolicyClient> auth_policy_client_; 46 std::unique_ptr<AuthPolicyClient> auth_policy_client_;
46 std::unique_ptr<CrosDisksClient> cros_disks_client_; 47 std::unique_ptr<CrosDisksClient> cros_disks_client_;
47 std::unique_ptr<DebugDaemonClient> debug_daemon_client_; 48 std::unique_ptr<DebugDaemonClient> debug_daemon_client_;
48 std::unique_ptr<EasyUnlockClient> easy_unlock_client_; 49 std::unique_ptr<EasyUnlockClient> easy_unlock_client_;
49 std::unique_ptr<ImageBurnerClient> image_burner_client_; 50 std::unique_ptr<ImageBurnerClient> image_burner_client_;
50 std::unique_ptr<ImageLoaderClient> image_loader_client_; 51 std::unique_ptr<ImageLoaderClient> image_loader_client_;
51 std::unique_ptr<LorgnetteManagerClient> lorgnette_manager_client_; 52 std::unique_ptr<LorgnetteManagerClient> lorgnette_manager_client_;
53 std::unique_ptr<MediaAnalyticsClient> media_analytics_client_;
52 std::unique_ptr<UpstartClient> upstart_client_; 54 std::unique_ptr<UpstartClient> upstart_client_;
53 55
54 DISALLOW_COPY_AND_ASSIGN(DBusClientsBrowser); 56 DISALLOW_COPY_AND_ASSIGN(DBusClientsBrowser);
55 }; 57 };
56 58
57 } // namespace chromeos 59 } // namespace chromeos
58 60
59 #endif // CHROMEOS_DBUS_DBUS_CLIENTS_BROWSER_H_ 61 #endif // CHROMEOS_DBUS_DBUS_CLIENTS_BROWSER_H_
OLDNEW
« no previous file with comments | « chromeos/BUILD.gn ('k') | chromeos/dbus/dbus_clients_browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698