Commit 12de8483 authored by Jit Yao Yap's avatar Jit Yao Yap Committed by Commit Bot

Add set_pem_path() for ChromeTestExtensionLoader

The |pem_path_| member of ChromeTestExtensionLoader is currently always
empty and so will be unused. This CL adds a method to set the pem_path
to be used when packing an extension.

Change-Id: I977c29de7f8078d054ee9d8052c7628551356d1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2332613
Commit-Queue: Jit Yao Yap <jityao@google.com>
Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797150}
parent 81a6d4cd
...@@ -80,6 +80,7 @@ class ChromeTestExtensionLoader { ...@@ -80,6 +80,7 @@ class ChromeTestExtensionLoader {
void set_wait_for_renderers(bool wait_for_renderers) { void set_wait_for_renderers(bool wait_for_renderers) {
wait_for_renderers_ = wait_for_renderers; wait_for_renderers_ = wait_for_renderers;
} }
void set_pem_path(const base::FilePath& pem_path) { pem_path_ = pem_path; }
private: private:
// Packs the extension at |unpacked_path| and returns the path to the created // Packs the extension at |unpacked_path| and returns the path to the created
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment