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

Unified Diff: extensions/shell/browser/shell_extensions_browser_client.h

Issue 820583002: Adds support for media permission request handling on <appview> tag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn build Created 6 years 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: extensions/shell/browser/shell_extensions_browser_client.h
diff --git a/extensions/shell/browser/shell_extensions_browser_client.h b/extensions/shell/browser/shell_extensions_browser_client.h
index b5f95ebcefc4c8e8b8d4967f2f9260112ddef5dd..912cabba8c564b6e7a947d08deb706d807d059bb 100644
--- a/extensions/shell/browser/shell_extensions_browser_client.h
+++ b/extensions/shell/browser/shell_extensions_browser_client.h
@@ -80,6 +80,9 @@ class ShellExtensionsBrowserClient : public ExtensionsBrowserClient {
bool IsBackgroundUpdateAllowed() override;
bool IsMinBrowserVersionSupported(const std::string& min_version) override;
+ // Sets the API client.
+ void SetAPIClientForTest(ExtensionsAPIClient* api_client);
+
private:
// The single BrowserContext for app_shell. Not owned.
content::BrowserContext* browser_context_;
« no previous file with comments | « extensions/shell/browser/shell_extensions_api_client.cc ('k') | extensions/shell/browser/shell_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698