diff options
author | zea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-18 23:28:43 +0000 |
---|---|---|
committer | zea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-18 23:28:43 +0000 |
commit | 4e70191dc2dd52cf2f85617e916592d638203c92 (patch) | |
tree | 2a87dfe339cf153c43f072902baac9432de55585 /chrome/browser/sync/profile_sync_factory.h | |
parent | 1be4c6fa13ecc5e68a4f576728e518ba2255bb9a (diff) | |
download | chromium_src-4e70191dc2dd52cf2f85617e916592d638203c92.zip chromium_src-4e70191dc2dd52cf2f85617e916592d638203c92.tar.gz chromium_src-4e70191dc2dd52cf2f85617e916592d638203c92.tar.bz2 |
Reland r81454 (sync non-frontend datatype controllers) with longer timeouts.
Original codereview: http://codereview.chromium.org/6811003
BUG=77964
TEST=unit
Review URL: http://codereview.chromium.org/6869016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/profile_sync_factory.h')
-rw-r--r-- | chrome/browser/sync/profile_sync_factory.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chrome/browser/sync/profile_sync_factory.h b/chrome/browser/sync/profile_sync_factory.h index 776b61d..8befe35 100644 --- a/chrome/browser/sync/profile_sync_factory.h +++ b/chrome/browser/sync/profile_sync_factory.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -47,12 +47,15 @@ class ProfileSyncFactory { virtual ~ProfileSyncFactory() {} - // Instantiates and initializes a new ProfileSyncService. Enabled - // data types are registered with the service. The return pointer - // is owned by the caller. + // Instantiates a new ProfileSyncService. The return pointer is owned by the + // caller. virtual ProfileSyncService* CreateProfileSyncService( const std::string& cros_user) = 0; + // Creates and registers enabled datatypes with the provided + // ProfileSyncService. + virtual void RegisterDataTypes(ProfileSyncService* pss) = 0; + // Instantiates a new DataTypeManager with a SyncBackendHost and a // list of data type controllers. The return pointer is owned by // the caller. |