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

Unified Diff: components/arc/kiosk/arc_kiosk_bridge.h

Issue 2524673003: arc: Stop/start ARC++ kiosk app when maintenance session started/finished. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 1 month 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: components/arc/kiosk/arc_kiosk_bridge.h
diff --git a/components/arc/kiosk/arc_kiosk_bridge.h b/components/arc/kiosk/arc_kiosk_bridge.h
deleted file mode 100644
index ab0323f971a9259c894a5d532093d9f0896a0a11..0000000000000000000000000000000000000000
--- a/components/arc/kiosk/arc_kiosk_bridge.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_ARC_KIOSK_ARC_KIOSK_BRIDGE_H_
-#define COMPONENTS_ARC_KIOSK_ARC_KIOSK_BRIDGE_H_
-
-#include <map>
-
-#include "base/macros.h"
-#include "components/arc/arc_service.h"
-#include "components/arc/common/kiosk.mojom.h"
-#include "components/arc/instance_holder.h"
-#include "mojo/public/cpp/bindings/binding.h"
-
-namespace arc {
-
-class ArcBridgeService;
-
-class ArcKioskBridge : public ArcService,
- public InstanceHolder<mojom::KioskInstance>::Observer,
- public mojom::KioskHost {
- public:
- explicit ArcKioskBridge(ArcBridgeService* bridge_service);
- ~ArcKioskBridge() override;
-
- // InstanceHolder<mojom::KioskInstance>::Observer overrides.
- void OnInstanceReady() override;
-
- // mojom::KioskHost overrides.
- void OnMaintenanceSessionCreated(int32_t session_id) override;
- void OnMaintenanceSessionFinished(int32_t session_id, bool success) override;
-
- private:
- mojo::Binding<mojom::KioskHost> binding_;
-
- DISALLOW_COPY_AND_ASSIGN(ArcKioskBridge);
-};
-
-} // namespace arc
-
-#endif // COMPONENTS_ARC_KIOSK_ARC_KIOSK_BRIDGE_H_

Powered by Google App Engine
This is Rietveld 408576698