cryptohome: Delete SetProjectId D-Bus method
This D-Bus method was superseded by SetMediaRWDataFileProjectId.
BUG=b:175764830
TEST=tast run arc.QuotaProjectID
Change-Id: I6ed15fecdbd8ccb5039ffce837e59d32dfaf8cc7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/3686980
Commit-Queue: Ryo Hashimoto <hashimoto@chromium.org>
Tested-by: Ryo Hashimoto <hashimoto@chromium.org>
Reviewed-by: John L Chen <zuan@chromium.org>
NOKEYCHECK=True
GitOrigin-RevId: 2c777cc2e498bdca477e72f81cb78ff07658b222
diff --git a/dbus/cryptohome/UserDataAuth.proto b/dbus/cryptohome/UserDataAuth.proto
index 7b4fba8..d4b136d 100644
--- a/dbus/cryptohome/UserDataAuth.proto
+++ b/dbus/cryptohome/UserDataAuth.proto
@@ -1048,34 +1048,6 @@
int64 cur_space = 1;
}
-// Type of paths that are allowed for SetProjectId.
-enum SetProjectIdAllowedPathType {
- // /home/user/<obfuscated_username>/MyFiles/Downloads/
- PATH_DOWNLOADS = 0;
- // /home/root/<obfuscated_username>/android-data/
- PATH_ANDROID_DATA = 1;
-}
-
-// Input parameters to SetProjectId().
-message SetProjectIdRequest {
- // The project ID.
- uint32 project_id = 1;
-
- // |parent_path|, |child_path| and |account_id| are used for constructing the
- // target path. (e.g.
- // /home/user/<obfuscated_username>/MyFiles/Downloads/<child_path> for
- // parent_path=PATH_DOWNLOADS)
- SetProjectIdAllowedPathType parent_path = 2;
- string child_path = 3;
- cryptohome.AccountIdentifier account_id = 4;
-}
-
-// Output parameters for SetProjectId().
-message SetProjectIdReply {
- // Set to true if ioctl syscall for setting the project ID succeeds.
- bool success = 1;
-}
-
// Input parameters to SetMediaRWDataFileProjectId().
message SetMediaRWDataFileProjectIdRequest {
// The project ID.