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

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

Issue 8430033: Adds a webstorePrivate method for silently installing extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mihai Created 9 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 | « chrome/browser/extensions/crx_installer.cc ('k') | chrome/browser/extensions/extension_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_browsertest.h
diff --git a/chrome/browser/extensions/extension_browsertest.h b/chrome/browser/extensions/extension_browsertest.h
index 30645ed5ed4315a2e37bdf33d726a49205830a39..10e0d8ae156dfbcac4ac4730686990bbfa37192b 100644
--- a/chrome/browser/extensions/extension_browsertest.h
+++ b/chrome/browser/extensions/extension_browsertest.h
@@ -43,6 +43,15 @@ class ExtensionBrowserTest
// Return an empty FilePath if there were errors.
FilePath PackExtension(const FilePath& dir_path);
+ // Pack the extension in |dir_path| into a crx file at |crx_path|, using the
+ // key |pem_path|. If |pem_path| does not exist, create a new key at
+ // |pem_out_path|.
+ // Return the path to the crx file, or an empty FilePath if there were errors.
+ FilePath PackExtensionWithOptions(const FilePath& dir_path,
+ const FilePath& crx_path,
+ const FilePath& pem_path,
+ const FilePath& pem_out_path);
+
// |expected_change| indicates how many extensions should be installed (or
// disabled, if negative).
// 1 means you expect a new install, 0 means you expect an upgrade, -1 means
« no previous file with comments | « chrome/browser/extensions/crx_installer.cc ('k') | chrome/browser/extensions/extension_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698