diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 19:12:28 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 19:12:28 +0000 |
commit | bf94abe7b12b3e68c4dfacef6484058843a142e7 (patch) | |
tree | 369ea9ec3ca70306ed4b1a1fbe79045b28cdace9 /chrome/browser/extensions/extension_creator.h | |
parent | 16bea2f619c07a92878d7ae356cf1b145f5449e5 (diff) | |
download | chromium_src-bf94abe7b12b3e68c4dfacef6484058843a142e7.zip chromium_src-bf94abe7b12b3e68c4dfacef6484058843a142e7.tar.gz chromium_src-bf94abe7b12b3e68c4dfacef6484058843a142e7.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/extensions/extension_creator.h')
-rw-r--r-- | chrome/browser/extensions/extension_creator.h | 9 |
1 files changed, 5 insertions, 4 deletions
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 <string> #include <vector> @@ -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_ |