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

Unified Diff: components/arc/obb_mounter/arc_obb_mounter_bridge.cc

Issue 2001013004: Revert of Add OBB mounter Mojo interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/obb_mounter/arc_obb_mounter_bridge.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/obb_mounter/arc_obb_mounter_bridge.cc
diff --git a/components/arc/obb_mounter/arc_obb_mounter_bridge.cc b/components/arc/obb_mounter/arc_obb_mounter_bridge.cc
deleted file mode 100644
index c32018cfd905289228491e75c9f1628c55538f8b..0000000000000000000000000000000000000000
--- a/components/arc/obb_mounter/arc_obb_mounter_bridge.cc
+++ /dev/null
@@ -1,44 +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.
-
-#include "components/arc/obb_mounter/arc_obb_mounter_bridge.h"
-
-#include "base/logging.h"
-#include "components/arc/arc_bridge_service.h"
-
-namespace arc {
-
-ArcObbMounterBridge::ArcObbMounterBridge(ArcBridgeService* bridge_service)
- : ArcService(bridge_service),
- binding_(this) {
- arc_bridge_service()->AddObserver(this);
-}
-
-ArcObbMounterBridge::~ArcObbMounterBridge() {
- arc_bridge_service()->RemoveObserver(this);
-}
-
-void ArcObbMounterBridge::OnObbMounterInstanceReady() {
- mojom::ObbMounterInstance* obb_mounter_instance =
- arc_bridge_service()->obb_mounter_instance();
- obb_mounter_instance->Init(binding_.CreateInterfacePtrAndBind());
-}
-
-void ArcObbMounterBridge::MountObb(const mojo::String& obb_file,
- const mojo::String& target_path,
- int32_t owner_gid,
- const MountObbCallback& callback) {
- // TODO(hashimoto): Implement this. crbug.com/613480
- NOTIMPLEMENTED();
- callback.Run(false);
-}
-
-void ArcObbMounterBridge::UnmountObb(const mojo::String& target_path,
- const UnmountObbCallback& callback) {
- // TODO(hashimoto): Implement this. crbug.com/613480
- NOTIMPLEMENTED();
- callback.Run(false);
-}
-
-} // namespace arc
« no previous file with comments | « components/arc/obb_mounter/arc_obb_mounter_bridge.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698