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

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

Issue 11198067: Move extension unpack intermediate dir to Extensions/Temp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: standardize names Created 8 years, 2 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
« no previous file with comments | « chrome/browser/extensions/crx_installer.cc ('k') | chrome/browser/extensions/sandboxed_unpacker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/sandboxed_unpacker.h
diff --git a/chrome/browser/extensions/sandboxed_unpacker.h b/chrome/browser/extensions/sandboxed_unpacker.h
index 7fc537ca9d90124953b56bf89be6d9434dc861fb..22abb5f99046022777e64d3bf6d1d2ad13116f0f 100644
--- a/chrome/browser/extensions/sandboxed_unpacker.h
+++ b/chrome/browser/extensions/sandboxed_unpacker.h
@@ -73,10 +73,11 @@ class SandboxedUnpacker : public content::UtilityProcessHostClient {
// |client| with the result. If |run_out_of_process| is provided, unpacking
// is done in a sandboxed subprocess. Otherwise, it is done in-process.
SandboxedUnpacker(const FilePath& crx_path,
- bool run_out_of_process,
- Extension::Location location,
- int creation_flags,
- SandboxedUnpackerClient* client);
+ bool run_out_of_process,
+ Extension::Location location,
+ int creation_flags,
+ const FilePath& extensions_dir,
+ SandboxedUnpackerClient* client);
// Start unpacking the extension. The client is called with the results.
void Start();
@@ -198,6 +199,9 @@ class SandboxedUnpacker : public content::UtilityProcessHostClient {
// Our client.
scoped_refptr<SandboxedUnpackerClient> client_;
+ // The Extensions directory inside the profile.
+ FilePath extensions_dir_;
+
// A temporary directory to use for unpacking.
ScopedTempDir temp_dir_;
« no previous file with comments | « chrome/browser/extensions/crx_installer.cc ('k') | chrome/browser/extensions/sandboxed_unpacker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698