mtpd: Add new method for renaming a file or directory.

BUG=chromium:413541
TEST=manually tested.

Change-Id: I80a61ed9cce3c743da94befe5a3178e54c2a45a3
Reviewed-on: https://chromium-review.googlesource.com/257311
Reviewed-by: Lei Zhang <[email protected]>
Commit-Queue: Yuki Awano <[email protected]>
Trybot-Ready: Yuki Awano <[email protected]>
Tested-by: Yuki Awano <[email protected]>
diff --git a/mtpd_server_impl.h b/mtpd_server_impl.h
index a7687b9..6d21137 100644
--- a/mtpd_server_impl.h
+++ b/mtpd_server_impl.h
@@ -57,6 +57,10 @@
   void DeleteObject(const std::string& handle,
                     const uint32_t& objectId,
                     DBus::Error& error) override;
+  void RenameObject(const std::string& handle,
+                    const uint32_t& objectId,
+                    const std::string& newName,
+                    DBus::Error& error) override;
   bool IsAlive(DBus::Error& error) override;
 
   // DeviceEventDelegate implementation.