| 84 | constexpr uint32_t kVdAgentClipboardImagePng = 2; |
| 85 | |
| 86 | uint32_t MimeToVdAgentType(const std::string& mime) { |
| 87 | if (mime == "text/plain") return kVdAgentClipboardUtf8Text; |
| 88 | if (mime == "image/png") return kVdAgentClipboardImagePng; |
| 89 | return 0; |
| 90 | } |
| 91 | |
| 92 | const char* VdAgentTypeToMime(uint32_t value) { |
| 93 | switch (value) { |
no outgoing calls
no test coverage detected