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

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

Issue 406713002: Allow drag-and-drop of zipped extensions on chrome://extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/unpacked_installer.h
diff --git a/chrome/browser/extensions/unpacked_installer.h b/chrome/browser/extensions/unpacked_installer.h
index 853cc3979df9b7164909f0597f2bd95442db1e33..bd74619e52de7ac0e06c4b44ee5a5b7af7c0717a 100644
--- a/chrome/browser/extensions/unpacked_installer.h
+++ b/chrome/browser/extensions/unpacked_installer.h
@@ -51,6 +51,9 @@ class UnpackedInstaller
bool LoadFromCommandLine(const base::FilePath& extension_path,
std::string* extension_id);
+ void LoadFromZipFile(const base::FilePath& zip_path);
+ void UnpackZipFileAndLoad(const base::FilePath& zip_path);
+
// Allows prompting for plugins to be disabled; intended for testing only.
bool prompt_for_plugins() { return prompt_for_plugins_; }
void set_prompt_for_plugins(bool val) { prompt_for_plugins_ = val; }
« no previous file with comments | « no previous file | chrome/browser/extensions/unpacked_installer.cc » ('j') | chrome/browser/extensions/unpacked_installer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698