| Index: chrome/browser/sync/profile_sync_factory.h
|
| diff --git a/chrome/browser/sync/profile_sync_factory.h b/chrome/browser/sync/profile_sync_factory.h
|
| index 776b61dde26fe3c96d7587e0c877b1e4887a382d..8befe3513cc5a76f465e49490391b892c72a2f89 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.
|
|
|