From bf94abe7b12b3e68c4dfacef6484058843a142e7 Mon Sep 17 00:00:00 2001 From: "thestig@chromium.org" Date: Tue, 3 Nov 2009 19:12:28 +0000 Subject: Delete the temp dir created by CreateZip. BUG=none TEST=none Review URL: http://codereview.chromium.org/341074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30841 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/extensions/extension_creator.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'chrome/browser/extensions/extension_creator.h') diff --git a/chrome/browser/extensions/extension_creator.h b/chrome/browser/extensions/extension_creator.h index e2446e3..c483a70 100644 --- a/chrome/browser/extensions/extension_creator.h +++ b/chrome/browser/extensions/extension_creator.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CREATOR_H_ -#define CHROME_COMMON_EXTENSIONS_EXTENSION_CREATOR_H_ +#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CREATOR_H_ +#define CHROME_BROWSER_EXTENSIONS_EXTENSION_CREATOR_H_ #include #include @@ -51,7 +51,8 @@ class ExtensionCreator { base::RSAPrivateKey* GenerateKey(const FilePath& private_key_path); // Creates temporary zip file for the extension. - bool CreateZip(const FilePath& extension_dir, FilePath* zip_path); + bool CreateZip(const FilePath& extension_dir, const FilePath& temp_path, + FilePath* zip_path); // Signs the temporary zip and returns the signature. bool SignZip(const FilePath& zip_path, @@ -70,4 +71,4 @@ class ExtensionCreator { DISALLOW_COPY_AND_ASSIGN(ExtensionCreator); }; -#endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CREATOR_H_ +#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CREATOR_H_ -- cgit v1.1