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

Unified Diff: chrome/browser/extensions/extension_creator.h

Issue 341074: Delete the temp dir created by CreateZip. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix header guard while I'm at it Created 11 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_creator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_creator.h
===================================================================
--- chrome/browser/extensions/extension_creator.h (revision 30836)
+++ chrome/browser/extensions/extension_creator.h (working copy)
@@ -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 @@
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 @@
DISALLOW_COPY_AND_ASSIGN(ExtensionCreator);
};
-#endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CREATOR_H_
+#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CREATOR_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698