#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "skia/ext/skia_utils_base.h"
#include <stdint.h>
#include "base/pickle.h"
#include "base/strings/stringprintf.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColorSpace.h"
#include "third_party/skia/include/core/SkData.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkImageInfo.h"
#include "third_party/skia/include/core/SkSerialProcs.h"
#include "third_party/skia/modules/skcms/skcms.h"
namespace skia {
bool ReadSkString(base::PickleIterator* iter, SkString* str) { … }
bool ReadSkFontIdentity(base::PickleIterator* iter,
SkFontConfigInterface::FontIdentity* identity) { … }
bool ReadSkFontStyle(base::PickleIterator* iter, SkFontStyle* style) { … }
void WriteSkString(base::Pickle* pickle, const SkString& str) { … }
void WriteSkFontIdentity(base::Pickle* pickle,
const SkFontConfigInterface::FontIdentity& identity) { … }
void WriteSkFontStyle(base::Pickle* pickle, SkFontStyle style) { … }
bool SkBitmapToN32OpaqueOrPremul(const SkBitmap& in, SkBitmap* out) { … }
std::string SkColorToHexString(SkColor color) { … }
std::string SkColorSpaceToString(const SkColorSpace* cs) { … }
std::string SkcmsTransferFunctionToString(const skcms_TransferFunction& fn) { … }
std::string SkcmsMatrix3x3ToString(const skcms_Matrix3x3& m) { … }
}