summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_websocket_apitest.cc
diff options
context:
space:
mode:
authorchron@chromium.org <chron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 01:47:54 +0000
committerchron@chromium.org <chron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-25 01:47:54 +0000
commitca02b57fb29c8412e0558b4696ba7fd17acca687 (patch)
treec993e072d0700ef8078226b89fca62491f011a4a /chrome/browser/extensions/extension_websocket_apitest.cc
parent31f6e2b73cf0f4350238f6d85a0139ca2c77dd90 (diff)
downloadchromium_src-ca02b57fb29c8412e0558b4696ba7fd17acca687.zip
chromium_src-ca02b57fb29c8412e0558b4696ba7fd17acca687.tar.gz
chromium_src-ca02b57fb29c8412e0558b4696ba7fd17acca687.tar.bz2
Revert 39964 - Move data type start/stop management into DataTypeManager
This change introduces a new interface/class called DataTypeManager whose job is to choreograph the start up and shut down of all registered data types. It starts each data type serially, waiting for each data type to finish starting before starting the next one. If anything goes wrong on startup, all data types are stopped. Note that this change also simplifies the ProfileSyncServiceStartupTest as many of the cases it tested for are now the responsibility of the DataTypeManagerImpl (and these are thoroughly tested in its unit test). I also killed off the TestProfileSyncFactory in the ProfileSyncServiceTest since it was lame and could be done with the mock. BUG=36506 Review URL: http://codereview.chromium.org/650175 TBR=skrul@chromium.org Review URL: http://codereview.chromium.org/661053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39977 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_websocket_apitest.cc')
0 files changed, 0 insertions, 0 deletions