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

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

Issue 2495913002: arc: Convert more Mojo types to STL (Closed)
Patch Set: Rebased to ToT 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
« 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
index 5d05583bae6d000439d061026ad90be3630b2d28..dc160a46b1630219efba27a9f3ca4f65ccc2fb7b 100644
--- a/components/arc/obb_mounter/arc_obb_mounter_bridge.cc
+++ b/components/arc/obb_mounter/arc_obb_mounter_bridge.cc
@@ -37,19 +37,18 @@ void ArcObbMounterBridge::OnInstanceReady() {
obb_mounter_instance->Init(binding_.CreateInterfacePtrAndBind());
}
-void ArcObbMounterBridge::MountObb(const mojo::String& obb_file,
- const mojo::String& target_path,
+void ArcObbMounterBridge::MountObb(const std::string& obb_file,
+ const std::string& target_path,
int32_t owner_gid,
const MountObbCallback& callback) {
chromeos::DBusThreadManager::Get()->GetArcObbMounterClient()->MountObb(
- obb_file.get(), target_path.get(), owner_gid,
- base::Bind(&RunObbCallback, callback));
+ obb_file, target_path, owner_gid, base::Bind(&RunObbCallback, callback));
}
-void ArcObbMounterBridge::UnmountObb(const mojo::String& target_path,
+void ArcObbMounterBridge::UnmountObb(const std::string& target_path,
const UnmountObbCallback& callback) {
chromeos::DBusThreadManager::Get()->GetArcObbMounterClient()->UnmountObb(
- target_path.get(), base::Bind(&RunObbCallback, callback));
+ target_path, base::Bind(&RunObbCallback, callback));
}
} // 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