Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(958)

Unified Diff: blimp/test/support/compositor/picture_cache_test_support.h

Issue 2626423004: Remove all //blimp code. (Closed)
Patch Set: One last(?) `git merge` for good measure. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/test/run_all_unittests.cc ('k') | blimp/test/support/compositor/picture_cache_test_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/test/support/compositor/picture_cache_test_support.h
diff --git a/blimp/test/support/compositor/picture_cache_test_support.h b/blimp/test/support/compositor/picture_cache_test_support.h
deleted file mode 100644
index 443313c8efb96c518e050d48c06d7bd57f94bba0..0000000000000000000000000000000000000000
--- a/blimp/test/support/compositor/picture_cache_test_support.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef BLIMP_TEST_SUPPORT_COMPOSITOR_PICTURE_CACHE_TEST_SUPPORT_H_
-#define BLIMP_TEST_SUPPORT_COMPOSITOR_PICTURE_CACHE_TEST_SUPPORT_H_
-
-#include "blimp/common/blob_cache/blob_cache.h"
-#include "cc/blimp/picture_data.h"
-#include "testing/gmock/include/gmock/gmock.h"
-#include "third_party/skia/include/core/SkColor.h"
-#include "third_party/skia/include/core/SkPicture.h"
-#include "third_party/skia/include/core/SkRefCnt.h"
-
-namespace blimp {
-
-// Creates an SkPicture filled with with the given |color|.
-sk_sp<const SkPicture> CreateSkPicture(SkColor color);
-
-// Serializes the given picture into an SkData object.
-sk_sp<SkData> SerializePicture(sk_sp<const SkPicture> picture);
-
-// Serializes an SkPicture and returns the BlobId for the serialized form of
-// the picture.
-BlobId GetBlobId(sk_sp<const SkPicture> picture);
-
-// Deserializes the SkPicture represented by |data.
-sk_sp<const SkPicture> DeserializePicture(sk_sp<SkData> data);
-
-// Compares an SkPicture and SkPicture represented by the SkData in the
-// cc::PictureData.
-bool PicturesEqual(sk_sp<const SkPicture> picture,
- const cc::PictureData& picture_data);
-
-// Utility function to create a valid cc::PictureData from an SkPicture.
-cc::PictureData CreatePictureData(sk_sp<const SkPicture> picture);
-
-MATCHER_P(PictureMatches, picture, "") {
- return PicturesEqual(picture, arg);
-}
-
-} // namespace blimp
-
-#endif // BLIMP_TEST_SUPPORT_COMPOSITOR_PICTURE_CACHE_TEST_SUPPORT_H_
« no previous file with comments | « blimp/test/run_all_unittests.cc ('k') | blimp/test/support/compositor/picture_cache_test_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698