1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:47:45 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -20,10 +20,10 @@ public:
bool has_data() const { return m_buffer.is_valid(); }
const String& mime_type() const { return m_mime_type; }
const HashMap<String, String>& metadata() const { return m_metadata; }
String const& mime_type() const { return m_mime_type; }
HashMap<String, String> const& metadata() const { return m_metadata; }
const u8* data() const
u8 const* data() const
{
if (!has_data())
return nullptr;
@ -37,11 +37,11 @@ public:
return 0;
}
void set_data(Core::AnonymousBuffer, const String& mime_type, const HashMap<String, String>& metadata);
void set_data(Core::AnonymousBuffer, String const& mime_type, HashMap<String, String> const& metadata);
Function<void()> on_content_change;
const Core::AnonymousBuffer& buffer() const { return m_buffer; }
Core::AnonymousBuffer const& buffer() const { return m_buffer; }
private:
Storage() = default;