Index: extensions/browser/api/extensions_api_client.h |
diff --git a/extensions/browser/api/extensions_api_client.h b/extensions/browser/api/extensions_api_client.h |
index 126b6e0f86f40298580195067ae17a9a2d6bcd1b..1459be0d966f3974d48ab29c9ed2e18be63e5f1c 100644 |
--- a/extensions/browser/api/extensions_api_client.h |
+++ b/extensions/browser/api/extensions_api_client.h |
@@ -35,6 +35,7 @@ class ContentRulesRegistry; |
class DevicePermissionsPrompt; |
class ExtensionOptionsGuest; |
class ExtensionOptionsGuestDelegate; |
+class KioskDelegate; |
class ManagementAPIDelegate; |
class MimeHandlerViewGuest; |
class MimeHandlerViewGuestDelegate; |
@@ -127,6 +128,9 @@ class ExtensionsAPIClient { |
// Creates a delegate for handling the management extension api. |
virtual ManagementAPIDelegate* CreateManagementAPIDelegate() const; |
+ // Returns a delegate that provides kiosk mode functionality. |
+ virtual KioskDelegate* GetKioskDelegate(); |
asargent_no_longer_on_chrome
2016/09/28 19:58:15
Most of the rest of these functions are named Crea
Rahul Chaturvedi
2016/09/28 20:26:47
So the difference is that the rest of the function
asargent_no_longer_on_chrome
2016/09/28 20:45:19
Thinking about this some more, does the KioskDeleg
Rahul Chaturvedi
2016/09/28 21:10:29
I really don't want to have a global ::Get. This c
asargent_no_longer_on_chrome
2016/09/28 21:49:41
I'd still prefer that we put this in ExtensionsCli
Rahul Chaturvedi
2016/09/28 23:00:10
Moved to ExtensionsBrowserClient (since Extensions
|
+ |
// NOTE: If this interface gains too many methods (perhaps more than 20) it |
// should be split into one interface per API. |
}; |