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

Side by Side Diff: blimp/engine/renderer/engine_image_serialization_processor.cc

Issue 1912153004: [blimp] Change to use SHA-256 instead of SHA-1 for unique ids (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "blimp/engine/renderer/engine_image_serialization_processor.h" 5 #include "blimp/engine/renderer/engine_image_serialization_processor.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/sha1.h"
15 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
16 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
Wez 2016/04/23 00:08:52 Do we use string_util.h in here?
nyquist 2016/04/25 08:11:17 Done.
17 #include "base/trace_event/trace_event.h" 16 #include "base/trace_event/trace_event.h"
18 #include "blimp/common/blob_cache/id_util.h" 17 #include "blimp/common/blob_cache/id_util.h"
19 #include "blimp/common/compositor/webp_decoder.h" 18 #include "blimp/common/compositor/webp_decoder.h"
20 #include "blimp/common/proto/blob_cache.pb.h" 19 #include "blimp/common/proto/blob_cache.pb.h"
21 #include "content/public/renderer/render_frame.h" 20 #include "content/public/renderer/render_frame.h"
22 #include "third_party/libwebp/webp/encode.h" 21 #include "third_party/libwebp/webp/encode.h"
23 #include "third_party/skia/include/core/SkData.h" 22 #include "third_party/skia/include/core/SkData.h"
24 #include "third_party/skia/include/core/SkPicture.h" 23 #include "third_party/skia/include/core/SkPicture.h"
25 #include "third_party/skia/include/core/SkPixelSerializer.h" 24 #include "third_party/skia/include/core/SkPixelSerializer.h"
26 #include "third_party/skia/include/core/SkUnPreMultiply.h" 25 #include "third_party/skia/include/core/SkUnPreMultiply.h"
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 return pixel_serializer_.get(); 228 return pixel_serializer_.get();
230 } 229 }
231 230
232 SkPicture::InstallPixelRefProc 231 SkPicture::InstallPixelRefProc
233 EngineImageSerializationProcessor::GetPixelDeserializer() { 232 EngineImageSerializationProcessor::GetPixelDeserializer() {
234 return nullptr; 233 return nullptr;
235 } 234 }
236 235
237 } // namespace engine 236 } // namespace engine
238 } // namespace blimp 237 } // namespace blimp
OLDNEW
« blimp/common/compositor/webp_decoder.cc ('K') | « blimp/common/compositor/webp_decoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698