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

Unified Diff: blimp/client/feature/compositor/blimp_image_decoder.cc

Issue 1955493002: Move BlimpImageSerializationProcessor and WebPDecoder to //blimp/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments, moved to blimp::client namespace, renamed webp_decoder.[cc|h] according to func… Created 4 years, 7 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
Index: blimp/client/feature/compositor/blimp_image_decoder.cc
diff --git a/blimp/common/compositor/webp_decoder.cc b/blimp/client/feature/compositor/blimp_image_decoder.cc
similarity index 96%
rename from blimp/common/compositor/webp_decoder.cc
rename to blimp/client/feature/compositor/blimp_image_decoder.cc
index 7d2fb271a6e717cc14b08aab6e1517c9ccd2e019..1b1693ea9e7333aa29e8cf7441aec0ee052d2305 100644
--- a/blimp/common/compositor/webp_decoder.cc
+++ b/blimp/client/feature/compositor/blimp_image_decoder.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "blimp/common/compositor/webp_decoder.h"
+#include "blimp/client/feature/compositor/blimp_image_decoder.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
@@ -25,7 +25,9 @@ static base::LazyInstance<InMemoryBlobCache> g_blob_cache =
} // namespace
-bool WebPDecoder(const void* input, size_t input_size, SkBitmap* bitmap) {
+namespace client {
+
+bool BlimpImageDecoder(const void* input, size_t input_size, SkBitmap* bitmap) {
DCHECK(bitmap);
// Initialize an empty WebPDecoderConfig.
@@ -135,4 +137,5 @@ bool WebPDecoder(const void* input, size_t input_size, SkBitmap* bitmap) {
return true;
}
+} // namespace client
} // namespace blimp

Powered by Google App Engine
This is Rietveld 408576698