| Index: chrome/browser/policy/browser_policy_connector.h
|
| diff --git a/chrome/browser/policy/browser_policy_connector.h b/chrome/browser/policy/browser_policy_connector.h
|
| index 18b76a17da90e5db88253fe57760397117e7e36a..c948f3306be842f6bae54f5bc618848d43d66c5c 100644
|
| --- a/chrome/browser/policy/browser_policy_connector.h
|
| +++ b/chrome/browser/policy/browser_policy_connector.h
|
| @@ -175,6 +175,11 @@ class BrowserPolicyConnector : public content::NotificationObserver {
|
| }
|
| #endif
|
|
|
| + // Allows setting a DeviceManagementService (for injecting mocks in
|
| + // unit tests).
|
| + void SetDeviceManagementServiceForTesting(
|
| + scoped_ptr<DeviceManagementService> service);
|
| +
|
| // Sets a |provider| that will be included in PolicyServices returned by
|
| // CreatePolicyService. This is a static method because local state is
|
| // created immediately after the connector, and tests don't have a chance to
|
|
|