diff options
author | haitaol@chromium.org <haitaol@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-31 21:42:39 +0000 |
---|---|---|
committer | haitaol@chromium.org <haitaol@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-31 21:42:39 +0000 |
commit | e9d91ff8ae5d3c6412db8bc81aefdf62bb7f5200 (patch) | |
tree | 48f072a88f6829441793299495b423d7f3178f17 /chrome/browser/sync/profile_sync_service_preference_unittest.cc | |
parent | 04782106da17474fd72ac06988fcbef155c784ae (diff) | |
download | chromium_src-e9d91ff8ae5d3c6412db8bc81aefdf62bb7f5200.zip chromium_src-e9d91ff8ae5d3c6412db8bc81aefdf62bb7f5200.tar.gz chromium_src-e9d91ff8ae5d3c6412db8bc81aefdf62bb7f5200.tar.bz2 |
Prioritize configuration of data types in data type manager.
Download and associate high-priority types (control types, priority preference and managed users for now) before other types.
BUG=236456
Review URL: https://chromiumcodereview.appspot.com/15067016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203486 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/profile_sync_service_preference_unittest.cc')
-rw-r--r-- | chrome/browser/sync/profile_sync_service_preference_unittest.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/sync/profile_sync_service_preference_unittest.cc b/chrome/browser/sync/profile_sync_service_preference_unittest.cc index ce02d29..ade9e40 100644 --- a/chrome/browser/sync/profile_sync_service_preference_unittest.cc +++ b/chrome/browser/sync/profile_sync_service_preference_unittest.cc @@ -33,6 +33,7 @@ #include "sync/api/sync_data.h" #include "sync/internal_api/public/base/model_type.h" #include "sync/internal_api/public/change_record.h" +#include "sync/internal_api/public/data_type_debug_info_listener.h" #include "sync/internal_api/public/read_node.h" #include "sync/internal_api/public/read_transaction.h" #include "sync/internal_api/public/write_node.h" @@ -100,9 +101,9 @@ class ProfileSyncServicePreferenceTest } // DataTypeDebugInfoListener implementation. - virtual void OnDataTypeAssociationComplete( - const syncer::DataTypeAssociationStats& association_stats) OVERRIDE { - association_stats_ = association_stats; + virtual void OnSingleDataTypeConfigureComplete( + const syncer::DataTypeConfigurationStats& configuration_stats) OVERRIDE { + association_stats_ = configuration_stats.association_stats; } virtual void OnConfigureComplete() OVERRIDE { // Do nothing. |