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

Unified Diff: chrome/common/extensions/extension_file_util.h

Issue 9374009: Install platform apps into a separate data directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/extension_file_util.h
diff --git a/chrome/common/extensions/extension_file_util.h b/chrome/common/extensions/extension_file_util.h
index c1241f17555c84f4980a9e06c3f0fcd77cc0d24c..b597fcc4d4a07db98cc452f42b8a722602a31f41 100644
--- a/chrome/common/extensions/extension_file_util.h
+++ b/chrome/common/extensions/extension_file_util.h
@@ -28,12 +28,14 @@ namespace extension_file_util {
extern const char kInstallDirectoryName[];
// Copies |unpacked_source_dir| into the right location under |extensions_dir|.
+// Deletes the source directory if |should_delete_source| is true.
// The destination directiory is returned on success, or empty path is returned
// on failure.
FilePath InstallExtension(const FilePath& unpacked_source_dir,
const std::string& id,
const std::string& version,
- const FilePath& extensions_dir);
+ const FilePath& extensions_dir,
+ bool should_delete_source);
// Removes all versions of the extension with |id| from |extensions_dir|.
void UninstallExtension(const FilePath& extensions_dir,

Powered by Google App Engine
This is Rietveld 408576698