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

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

Issue 2062333002: mojo::Callback -> base::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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 | « chrome/renderer/chrome_render_thread_observer.cc ('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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 void CloseNotificationsChannel(); 327 void CloseNotificationsChannel();
328 void CloseObbMounterChannel(); 328 void CloseObbMounterChannel();
329 void ClosePolicyChannel(); 329 void ClosePolicyChannel();
330 void ClosePowerChannel(); 330 void ClosePowerChannel();
331 void CloseProcessChannel(); 331 void CloseProcessChannel();
332 void CloseStorageManagerChannel(); 332 void CloseStorageManagerChannel();
333 void CloseVideoChannel(); 333 void CloseVideoChannel();
334 void CloseWindowManagerChannel(); 334 void CloseWindowManagerChannel();
335 335
336 // Callbacks for QueryVersion. 336 // Callbacks for QueryVersion.
337 void OnAppVersionReady(int32_t version); 337 void OnAppVersionReady(uint32_t version);
338 void OnAudioVersionReady(int32_t version); 338 void OnAudioVersionReady(uint32_t version);
339 void OnAuthVersionReady(int32_t version); 339 void OnAuthVersionReady(uint32_t version);
340 void OnBluetoothVersionReady(int32_t version); 340 void OnBluetoothVersionReady(uint32_t version);
341 void OnClipboardVersionReady(int32_t version); 341 void OnClipboardVersionReady(uint32_t version);
342 void OnCrashCollectorVersionReady(int32_t version); 342 void OnCrashCollectorVersionReady(uint32_t version);
343 void OnFileSystemVersionReady(int32_t version); 343 void OnFileSystemVersionReady(uint32_t version);
344 void OnImeVersionReady(int32_t version); 344 void OnImeVersionReady(uint32_t version);
345 void OnIntentHelperVersionReady(int32_t version); 345 void OnIntentHelperVersionReady(uint32_t version);
346 void OnMetricsVersionReady(int32_t version); 346 void OnMetricsVersionReady(uint32_t version);
347 void OnNetVersionReady(int32_t version); 347 void OnNetVersionReady(uint32_t version);
348 void OnNotificationsVersionReady(int32_t version); 348 void OnNotificationsVersionReady(uint32_t version);
349 void OnObbMounterVersionReady(int32_t version); 349 void OnObbMounterVersionReady(uint32_t version);
350 void OnPolicyVersionReady(int32_t version); 350 void OnPolicyVersionReady(uint32_t version);
351 void OnPowerVersionReady(int32_t version); 351 void OnPowerVersionReady(uint32_t version);
352 void OnProcessVersionReady(int32_t version); 352 void OnProcessVersionReady(uint32_t version);
353 void OnStorageManagerVersionReady(int32_t version); 353 void OnStorageManagerVersionReady(uint32_t version);
354 void OnVideoVersionReady(int32_t version); 354 void OnVideoVersionReady(uint32_t version);
355 void OnWindowManagerVersionReady(int32_t version); 355 void OnWindowManagerVersionReady(uint32_t version);
356 356
357 // Mojo interfaces. 357 // Mojo interfaces.
358 mojom::AppInstancePtr app_ptr_; 358 mojom::AppInstancePtr app_ptr_;
359 mojom::AudioInstancePtr audio_ptr_; 359 mojom::AudioInstancePtr audio_ptr_;
360 mojom::AuthInstancePtr auth_ptr_; 360 mojom::AuthInstancePtr auth_ptr_;
361 mojom::BluetoothInstancePtr bluetooth_ptr_; 361 mojom::BluetoothInstancePtr bluetooth_ptr_;
362 mojom::ClipboardInstancePtr clipboard_ptr_; 362 mojom::ClipboardInstancePtr clipboard_ptr_;
363 mojom::CrashCollectorInstancePtr crash_collector_ptr_; 363 mojom::CrashCollectorInstancePtr crash_collector_ptr_;
364 mojom::FileSystemInstancePtr file_system_ptr_; 364 mojom::FileSystemInstancePtr file_system_ptr_;
365 mojom::ImeInstancePtr ime_ptr_; 365 mojom::ImeInstancePtr ime_ptr_;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 413
414 // WeakPtrFactory to use callbacks. 414 // WeakPtrFactory to use callbacks.
415 base::WeakPtrFactory<ArcBridgeService> weak_factory_; 415 base::WeakPtrFactory<ArcBridgeService> weak_factory_;
416 416
417 DISALLOW_COPY_AND_ASSIGN(ArcBridgeService); 417 DISALLOW_COPY_AND_ASSIGN(ArcBridgeService);
418 }; 418 };
419 419
420 } // namespace arc 420 } // namespace arc
421 421
422 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ 422 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_thread_observer.cc ('k') | components/arc/arc_bridge_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698