| 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..2d2e609373ec11dc90c842e1ab9c2c9f74a46077 100644
|
| --- a/extensions/browser/api/extensions_api_client.h
|
| +++ b/extensions/browser/api/extensions_api_client.h
|
| @@ -36,6 +36,7 @@ class DevicePermissionsPrompt;
|
| class ExtensionOptionsGuest;
|
| class ExtensionOptionsGuestDelegate;
|
| class ManagementAPIDelegate;
|
| +class MetricsPrivateDelegate;
|
| class MimeHandlerViewGuest;
|
| class MimeHandlerViewGuestDelegate;
|
| class RulesCacheDelegate;
|
| @@ -127,6 +128,12 @@ class ExtensionsAPIClient {
|
| // Creates a delegate for handling the management extension api.
|
| virtual ManagementAPIDelegate* CreateManagementAPIDelegate() const;
|
|
|
| + // Creates a delegate for MetricsPrivateAPI behavior dependent on the
|
| + // embedder. TODO(michaelpg): Consolidate with embedder-dependent interfaces
|
| + // in //components/metrics as app_shell support for metrics is completed.
|
| + virtual std::unique_ptr<MetricsPrivateDelegate> CreateMetricsPrivateDelegate()
|
| + const;
|
| +
|
| // NOTE: If this interface gains too many methods (perhaps more than 20) it
|
| // should be split into one interface per API.
|
| };
|
|
|