Do not initialize sync or policy on import process.
commit06796107373a123b55a6c8eefbfca1aa721e8b26
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 22 Feb 2013 15:07:44 +0000 (22 15:07 +0000)
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 22 Feb 2013 15:07:44 +0000 (22 15:07 +0000)
tree79ef6b991a2d0de342b606618019bbc8e15f003d
parent9dd0e58c3856747e867bd592ee7c28a19a6f928a
Do not initialize sync or policy on import process.

This fixes a conflict that occurs when the WebDataService is initialized on both the Import and normal processes
and they both try to open the same DB file.

This is a temporary fix for M26 - for M27 we will change ProfileDependencyManager to not launch any services on the
import process.

TBR=pkasting

BUG=174864

Review URL: https://chromiumcodereview.appspot.com/12310042

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184116 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/policy/user_policy_signin_service.cc
chrome/browser/sync/profile_sync_service_factory.cc
chrome/browser/webdata/web_data_service.cc