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

Side by Side Diff: chrome/browser/importer/reencode_favicon.h

Issue 18501013: Move most importer code to chrome/utility/importer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another gyp attempt Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_IMPORTER_REENCODE_FAVICON_H_
6 #define CHROME_BROWSER_IMPORTER_REENCODE_FAVICON_H_
7
8 #include <vector>
9
10 #include "base/basictypes.h"
11
12 // Given raw image data, decodes the icon, re-sampling to the correct size as
13 // necessary, and re-encodes as PNG data in the given output vector. Returns
14 // true on success.
15 bool ReencodeFavicon(const uint8* src_data, size_t src_len,
16 std::vector<uint8>* png_data);
17
18 #endif // CHROME_BROWSER_IMPORTER_REENCODE_FAVICON_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/pstore_declarations.h ('k') | chrome/browser/importer/reencode_favicon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698