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

Side by Side Diff: chrome/installer/mini_installer/decompress.h

Issue 6693015: Switch out the setup api for using the cabinet API directly.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 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_INSTALLER_MINI_INSTALLER_DECOMPRESS_H_
6 #define CHROME_INSTALLER_MINI_INSTALLER_DECOMPRESS_H_
7 #pragma once
8
9 namespace mini_installer {
10
11 // Same as the tool, expand.exe. Decompresses a file that was compressed
12 // using Microsoft's MSCF compression algorithm.
13 // The |source| pointer must be writable as internally the name and path
14 // of the source file must be temporarily split up and we don't feel like
15 // allocating extra buffers for this (in all cases of using this function,
16 // the buffers are devoted to this purpose anyway).
17 bool Expand(wchar_t* source, const wchar_t* destination);
amit 2011/03/15 20:54:35 if source is writable, why not take in the source
tommi (sloooow) - chröme 2011/03/16 02:43:30 The idea is similar to how CreateProcess works. T
amit 2011/03/16 15:50:26 Probably OK but CreateProcess has caused enough pa
tommi (sloooow) - chröme 2011/03/16 20:22:20 of course (doh)! done!
18
19 } // namespace mini_installer
20
21 #endif // CHROME_INSTALLER_MINI_INSTALLER_DECOMPRESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698