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

Side by Side Diff: chrome/utility/importer/favicon_reencode.h

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_UTILITY_IMPORTER_FAVICON_REENCODE_H_ 5 #ifndef CHROME_UTILITY_IMPORTER_FAVICON_REENCODE_H_
6 #define CHROME_UTILITY_IMPORTER_FAVICON_REENCODE_H_ 6 #define CHROME_UTILITY_IMPORTER_FAVICON_REENCODE_H_
7 7
8 #include <stddef.h>
9
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/basictypes.h"
11 12
12 namespace importer { 13 namespace importer {
13 14
14 // Given raw image data, decodes the icon, re-sampling to the correct size as 15 // Given raw image data, decodes the icon, re-sampling to the correct size as
15 // necessary, and re-encodes as PNG data in the given output vector. Returns 16 // necessary, and re-encodes as PNG data in the given output vector. Returns
16 // true on success. 17 // true on success.
17 bool ReencodeFavicon(const unsigned char* src_data, 18 bool ReencodeFavicon(const unsigned char* src_data,
18 size_t src_len, 19 size_t src_len,
19 std::vector<unsigned char>* png_data); 20 std::vector<unsigned char>* png_data);
20 21
21 } // namespace importer 22 } // namespace importer
22 23
23 #endif // CHROME_UTILITY_IMPORTER_FAVICON_REENCODE_H_ 24 #endif // CHROME_UTILITY_IMPORTER_FAVICON_REENCODE_H_
OLDNEW
« no previous file with comments | « chrome/utility/importer/external_process_importer_bridge.cc ('k') | chrome/utility/importer/firefox_importer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698