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

Unified Diff: chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h

Issue 2693013006: arc: Add cryptohome_id to EmitArcBooted. (Closed)
Patch Set: Address Luis's comments. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h
diff --git a/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h b/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h
index 407f450bc13c9a52bc284a26da4e133cdf0048f9..4e363653e7ed2528fb5c970dfc66ba5be5c5b3f7 100644
--- a/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h
+++ b/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h
@@ -12,6 +12,7 @@
#include "components/arc/arc_service.h"
#include "components/arc/common/boot_phase_monitor.mojom.h"
#include "components/arc/instance_holder.h"
+#include "components/signin/core/account_id/account_id.h"
#include "mojo/public/cpp/bindings/binding.h"
namespace arc {
@@ -25,7 +26,8 @@ class ArcBootPhaseMonitorBridge
public InstanceHolder<mojom::BootPhaseMonitorInstance>::Observer,
public mojom::BootPhaseMonitorHost {
public:
- explicit ArcBootPhaseMonitorBridge(ArcBridgeService* bridge_service);
+ ArcBootPhaseMonitorBridge(ArcBridgeService* bridge_service,
+ const AccountId& account_id);
~ArcBootPhaseMonitorBridge() override;
// InstanceHolder<mojom::BootPhaseMonitorInstance>::Observer
@@ -36,6 +38,7 @@ class ArcBootPhaseMonitorBridge
void OnBootCompleted() override;
private:
+ const AccountId account_id_;
mojo::Binding<mojom::BootPhaseMonitorHost> binding_;
std::unique_ptr<ArcInstanceThrottle> throttle_;

Powered by Google App Engine
This is Rietveld 408576698