internal changes

PiperOrigin-RevId: 748788743
This commit is contained in:
Francis Tsui
2025-04-17 13:22:13 -07:00
committed by Copybara-Service
parent 5fc75e3363
commit a429cfd03a
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -836,6 +836,7 @@ enum AttachmentSourceType {
ATTACHMENT_SOURCE_SELECT_FILES_BUTTON = 3;
ATTACHMENT_SOURCE_PASTE = 4;
ATTACHMENT_SOURCE_SELECT_FOLDERS_BUTTON = 5;
ATTACHMENT_SOURCE_SHARE_ACTIVATION = 6;
}
// The action to interact with preferences.
+2
View File
@@ -124,6 +124,8 @@ AttachmentSourceType GetLoggerAttachmentSourceType(
return AttachmentSourceType::ATTACHMENT_SOURCE_PASTE;
case Attachment::SourceType::kSelectFoldersButton:
return AttachmentSourceType::ATTACHMENT_SOURCE_SELECT_FOLDERS_BUTTON;
case Attachment::SourceType::kShareActivation:
return AttachmentSourceType::ATTACHMENT_SOURCE_SHARE_ACTIVATION;
default:
return AttachmentSourceType::ATTACHMENT_SOURCE_UNKNOWN;
}
+1
View File
@@ -43,6 +43,7 @@ class Attachment {
kSelectFilesButton,
kPaste,
kSelectFoldersButton,
kShareActivation,
kMaxValue = kSelectFoldersButton
};