Clear g_created_policy_service at BrowserPolicyConnector::Shutdown.

This allows other tests in the same suite to call SetPolicyProviderForTesting.

TBR=pastarmovj@chromium.org
BUG=None

Review URL: https://codereview.chromium.org/303393003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274148 0039d316-1c4b-4281-b951-d872f2087c98
parent c45f5623
......@@ -116,6 +116,7 @@ void BrowserPolicyConnector::Shutdown() {
// Drop g_testing_provider so that tests executed with --single_process can
// call SetPolicyProviderForTesting() again. It is still owned by the test.
g_testing_provider = NULL;
g_created_policy_service = false;
device_management_service_.reset();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment