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

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

Issue 8423003: Enable experimental permissions for extensions from the store. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: little cleanup Created 9 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
Index: chrome/browser/extensions/sandboxed_extension_unpacker.h
diff --git a/chrome/browser/extensions/sandboxed_extension_unpacker.h b/chrome/browser/extensions/sandboxed_extension_unpacker.h
index f8230bc505c0d7a1060bc72808cb71a35a96acab..43907efc3c1cb0eccc0ea97c2d81fc7fe5270dd9 100644
--- a/chrome/browser/extensions/sandboxed_extension_unpacker.h
+++ b/chrome/browser/extensions/sandboxed_extension_unpacker.h
@@ -11,6 +11,7 @@
#include "base/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/scoped_temp_dir.h"
+#include "chrome/common/extensions/extension.h"
#include "content/browser/utility_process_host.h"
class Extension;
@@ -101,6 +102,7 @@ class SandboxedExtensionUnpacker : public UtilityProcessHost::Client {
// sandboxed subprocess. Otherwise, it is done in-process.
SandboxedExtensionUnpacker(const FilePath& crx_path,
ResourceDispatcherHost* rdh,
+ Extension::Location location,
int creation_flags,
SandboxedExtensionUnpackerClient* client);
@@ -242,6 +244,9 @@ class SandboxedExtensionUnpacker : public UtilityProcessHost::Client {
// Time at which unpacking started. Used to compute the time unpacking takes.
base::TimeTicks unpack_start_time_;
+ // Location to use for the unpacked extension.
+ Extension::Location location_;
+
// Creation flags to use for the extension. These flags will be used
// when calling Extenion::Create() by the crx installer.
int creation_flags_;

Powered by Google App Engine
This is Rietveld 408576698