#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/process/memory.h"
#include "base/test/test_discardable_memory_allocator.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkImageFilter.h"
namespace {
static const int BitmapSize = …;
bool ReadTestCase(const char* filename, std::string* ipc_filter_message) { … }
void RunTestCase(std::string& ipc_filter_message, SkBitmap& bitmap,
SkCanvas* canvas) { … }
bool ReadAndRunTestCase(const char* filename, SkBitmap& bitmap,
SkCanvas* canvas) { … }
}
int main(int argc, char** argv) { … }