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

Side by Side Diff: components/arc/arc_bridge_service.h

Issue 2195653002: arc: add enterprise_reporting.mojom interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Corrected upstream branch. Created 4 years, 4 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 | « components/arc/BUILD.gn ('k') | components/arc/arc_bridge_service.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ 5 #ifndef COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_
6 #define COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ 6 #define COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 void RemoveObserver(Observer* observer); 126 void RemoveObserver(Observer* observer);
127 127
128 InstanceHolder<mojom::AppInstance>* app() { return &app_; } 128 InstanceHolder<mojom::AppInstance>* app() { return &app_; }
129 InstanceHolder<mojom::AudioInstance>* audio() { return &audio_; } 129 InstanceHolder<mojom::AudioInstance>* audio() { return &audio_; }
130 InstanceHolder<mojom::AuthInstance>* auth() { return &auth_; } 130 InstanceHolder<mojom::AuthInstance>* auth() { return &auth_; }
131 InstanceHolder<mojom::BluetoothInstance>* bluetooth() { return &bluetooth_; } 131 InstanceHolder<mojom::BluetoothInstance>* bluetooth() { return &bluetooth_; }
132 InstanceHolder<mojom::ClipboardInstance>* clipboard() { return &clipboard_; } 132 InstanceHolder<mojom::ClipboardInstance>* clipboard() { return &clipboard_; }
133 InstanceHolder<mojom::CrashCollectorInstance>* crash_collector() { 133 InstanceHolder<mojom::CrashCollectorInstance>* crash_collector() {
134 return &crash_collector_; 134 return &crash_collector_;
135 } 135 }
136 InstanceHolder<mojom::EnterpriseReportingInstance>* enterprise_reporting() {
137 return &enterprise_reporting_;
138 }
136 InstanceHolder<mojom::FileSystemInstance>* file_system() { 139 InstanceHolder<mojom::FileSystemInstance>* file_system() {
137 return &file_system_; 140 return &file_system_;
138 } 141 }
139 InstanceHolder<mojom::ImeInstance>* ime() { return &ime_; } 142 InstanceHolder<mojom::ImeInstance>* ime() { return &ime_; }
140 InstanceHolder<mojom::IntentHelperInstance>* intent_helper() { 143 InstanceHolder<mojom::IntentHelperInstance>* intent_helper() {
141 return &intent_helper_; 144 return &intent_helper_;
142 } 145 }
143 InstanceHolder<mojom::MetricsInstance>* metrics() { return &metrics_; } 146 InstanceHolder<mojom::MetricsInstance>* metrics() { return &metrics_; }
144 InstanceHolder<mojom::NetInstance>* net() { return &net_; } 147 InstanceHolder<mojom::NetInstance>* net() { return &net_; }
145 InstanceHolder<mojom::NotificationsInstance>* notifications() { 148 InstanceHolder<mojom::NotificationsInstance>* notifications() {
(...skipping 16 matching lines...) Expand all
162 // ArcHost: 165 // ArcHost:
163 void OnAppInstanceReady(mojom::AppInstancePtr app_ptr) override; 166 void OnAppInstanceReady(mojom::AppInstancePtr app_ptr) override;
164 void OnAudioInstanceReady(mojom::AudioInstancePtr audio_ptr) override; 167 void OnAudioInstanceReady(mojom::AudioInstancePtr audio_ptr) override;
165 void OnAuthInstanceReady(mojom::AuthInstancePtr auth_ptr) override; 168 void OnAuthInstanceReady(mojom::AuthInstancePtr auth_ptr) override;
166 void OnBluetoothInstanceReady( 169 void OnBluetoothInstanceReady(
167 mojom::BluetoothInstancePtr bluetooth_ptr) override; 170 mojom::BluetoothInstancePtr bluetooth_ptr) override;
168 void OnClipboardInstanceReady( 171 void OnClipboardInstanceReady(
169 mojom::ClipboardInstancePtr clipboard_ptr) override; 172 mojom::ClipboardInstancePtr clipboard_ptr) override;
170 void OnCrashCollectorInstanceReady( 173 void OnCrashCollectorInstanceReady(
171 mojom::CrashCollectorInstancePtr crash_collector_ptr) override; 174 mojom::CrashCollectorInstancePtr crash_collector_ptr) override;
175 void OnEnterpriseReportingInstanceReady(
176 mojom::EnterpriseReportingInstancePtr enterprise_reporting_ptr) override;
172 void OnFileSystemInstanceReady( 177 void OnFileSystemInstanceReady(
173 mojom::FileSystemInstancePtr file_system_ptr) override; 178 mojom::FileSystemInstancePtr file_system_ptr) override;
174 void OnImeInstanceReady(mojom::ImeInstancePtr ime_ptr) override; 179 void OnImeInstanceReady(mojom::ImeInstancePtr ime_ptr) override;
175 void OnIntentHelperInstanceReady( 180 void OnIntentHelperInstanceReady(
176 mojom::IntentHelperInstancePtr intent_helper_ptr) override; 181 mojom::IntentHelperInstancePtr intent_helper_ptr) override;
177 void OnMetricsInstanceReady(mojom::MetricsInstancePtr metrics_ptr) override; 182 void OnMetricsInstanceReady(mojom::MetricsInstancePtr metrics_ptr) override;
178 void OnNetInstanceReady(mojom::NetInstancePtr net_ptr) override; 183 void OnNetInstanceReady(mojom::NetInstancePtr net_ptr) override;
179 void OnNotificationsInstanceReady( 184 void OnNotificationsInstanceReady(
180 mojom::NotificationsInstancePtr notifications_ptr) override; 185 mojom::NotificationsInstancePtr notifications_ptr) override;
181 void OnObbMounterInstanceReady( 186 void OnObbMounterInstanceReady(
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 FRIEND_TEST_ALL_PREFIXES(ArcBridgeTest, Restart); 229 FRIEND_TEST_ALL_PREFIXES(ArcBridgeTest, Restart);
225 FRIEND_TEST_ALL_PREFIXES(ArcBridgeTest, OnBridgeStopped); 230 FRIEND_TEST_ALL_PREFIXES(ArcBridgeTest, OnBridgeStopped);
226 231
227 // Instance holders. 232 // Instance holders.
228 InstanceHolder<mojom::AppInstance> app_; 233 InstanceHolder<mojom::AppInstance> app_;
229 InstanceHolder<mojom::AudioInstance> audio_; 234 InstanceHolder<mojom::AudioInstance> audio_;
230 InstanceHolder<mojom::AuthInstance> auth_; 235 InstanceHolder<mojom::AuthInstance> auth_;
231 InstanceHolder<mojom::BluetoothInstance> bluetooth_; 236 InstanceHolder<mojom::BluetoothInstance> bluetooth_;
232 InstanceHolder<mojom::ClipboardInstance> clipboard_; 237 InstanceHolder<mojom::ClipboardInstance> clipboard_;
233 InstanceHolder<mojom::CrashCollectorInstance> crash_collector_; 238 InstanceHolder<mojom::CrashCollectorInstance> crash_collector_;
239 InstanceHolder<mojom::EnterpriseReportingInstance> enterprise_reporting_;
234 InstanceHolder<mojom::FileSystemInstance> file_system_; 240 InstanceHolder<mojom::FileSystemInstance> file_system_;
235 InstanceHolder<mojom::ImeInstance> ime_; 241 InstanceHolder<mojom::ImeInstance> ime_;
236 InstanceHolder<mojom::IntentHelperInstance> intent_helper_; 242 InstanceHolder<mojom::IntentHelperInstance> intent_helper_;
237 InstanceHolder<mojom::MetricsInstance> metrics_; 243 InstanceHolder<mojom::MetricsInstance> metrics_;
238 InstanceHolder<mojom::NetInstance> net_; 244 InstanceHolder<mojom::NetInstance> net_;
239 InstanceHolder<mojom::NotificationsInstance> notifications_; 245 InstanceHolder<mojom::NotificationsInstance> notifications_;
240 InstanceHolder<mojom::ObbMounterInstance> obb_mounter_; 246 InstanceHolder<mojom::ObbMounterInstance> obb_mounter_;
241 InstanceHolder<mojom::PolicyInstance> policy_; 247 InstanceHolder<mojom::PolicyInstance> policy_;
242 InstanceHolder<mojom::PowerInstance> power_; 248 InstanceHolder<mojom::PowerInstance> power_;
243 InstanceHolder<mojom::ProcessInstance> process_; 249 InstanceHolder<mojom::ProcessInstance> process_;
(...skipping 16 matching lines...) Expand all
260 266
261 // WeakPtrFactory to use callbacks. 267 // WeakPtrFactory to use callbacks.
262 base::WeakPtrFactory<ArcBridgeService> weak_factory_; 268 base::WeakPtrFactory<ArcBridgeService> weak_factory_;
263 269
264 DISALLOW_COPY_AND_ASSIGN(ArcBridgeService); 270 DISALLOW_COPY_AND_ASSIGN(ArcBridgeService);
265 }; 271 };
266 272
267 } // namespace arc 273 } // namespace arc
268 274
269 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ 275 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_
OLDNEW
« no previous file with comments | « components/arc/BUILD.gn ('k') | components/arc/arc_bridge_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698