Index: extensions/browser/test_extensions_browser_client.h |
diff --git a/extensions/browser/test_extensions_browser_client.h b/extensions/browser/test_extensions_browser_client.h |
index b052034d8346306db560092daacf00e4d6086b44..12c217f471b4d5b2b7a85f636f6e86d79ed490cb 100644 |
--- a/extensions/browser/test_extensions_browser_client.h |
+++ b/extensions/browser/test_extensions_browser_client.h |
@@ -5,6 +5,7 @@ |
#ifndef EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ |
#define EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ |
+#include <memory> |
#include <string> |
#include <utility> |
#include <vector> |
@@ -40,6 +41,10 @@ class TestExtensionsBrowserClient : public ExtensionsBrowserClient { |
extension_cache_ = std::move(extension_cache); |
} |
+ void set_lock_screen_context(content::BrowserContext* context) { |
+ lock_screen_context_ = context; |
+ } |
+ |
// Sets a factory to respond to calls of the CreateUpdateClient method. |
void SetUpdateClientFactory( |
const base::Callback<update_client::UpdateClient*(void)>& factory); |
@@ -122,6 +127,8 @@ class TestExtensionsBrowserClient : public ExtensionsBrowserClient { |
private: |
content::BrowserContext* main_context_; // Not owned. |
content::BrowserContext* incognito_context_; // Not owned, defaults to NULL. |
+ // Not owned, defaults to NULL. |
rkc
2017/06/22 18:35:48
Either move this to the right, or move the comment
|
+ content::BrowserContext* lock_screen_context_; |
// Not owned, defaults to NULL. |
ProcessManagerDelegate* process_manager_delegate_; |