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

Side by Side Diff: third_party/WebKit/Source/platform/image-decoders/ImageDecoderTestHelpers.h

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) Created 4 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "third_party/skia/include/core/SkBitmap.h" 5 #include "third_party/skia/include/core/SkBitmap.h"
6 #include "wtf/PassOwnPtr.h" 6 #include "wtf/PassOwnPtr.h"
7 #include "wtf/Vector.h" 7 #include "wtf/Vector.h"
8 8
9 namespace blink { 9 namespace blink {
10 class ImageDecoder; 10 class ImageDecoder;
11 class SharedBuffer; 11 class SharedBuffer;
12 12
13 using DecoderCreator = PassOwnPtr<ImageDecoder>(*)(); 13 using DecoderCreator = PassOwnPtr<ImageDecoder>(*)();
14 PassRefPtr<SharedBuffer> readFile(const char* fileName); 14 PassRefPtr<SharedBuffer> readFile(const char* fileName);
15 PassRefPtr<SharedBuffer> readFile(const char* dir, const char* fileName); 15 PassRefPtr<SharedBuffer> readFile(const char* dir, const char* fileName);
16 unsigned hashBitmap(const SkBitmap&); 16 unsigned hashBitmap(const SkBitmap&);
17 void createDecodingBaseline(DecoderCreator, SharedBuffer*, Vector<unsigned>* bas elineHashes); 17 void createDecodingBaseline(DecoderCreator, SharedBuffer*, Vector<unsigned>* bas elineHashes);
18 void testByteByByteDecode(DecoderCreator createDecoder, const char* file, size_t expectedFrameCount, int expectedRepetitionCount); 18 void testByteByByteDecode(DecoderCreator createDecoder, const char* file, size_t expectedFrameCount, int expectedRepetitionCount);
19 void testMergeBuffer(DecoderCreator createDecoder, const char* file); 19 void testMergeBuffer(DecoderCreator createDecoder, const char* file);
20 } 20 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698