summaryrefslogtreecommitdiffstats
path: root/components/sync_driver/data_type_status_table.h
diff options
context:
space:
mode:
authorzea <zea@chromium.org>2014-09-02 11:30:33 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-02 18:36:44 +0000
commitfe2ae5fbf23243039bdc94f8f8672bc371f5339f (patch)
treee6fab663dfc01928e8a7ebf26a0626645e40936e /components/sync_driver/data_type_status_table.h
parentbf2cd357fc230d28ccb9708097cc8a16aebe3e71 (diff)
downloadchromium_src-fe2ae5fbf23243039bdc94f8f8672bc371f5339f.zip
chromium_src-fe2ae5fbf23243039bdc94f8f8672bc371f5339f.tar.gz
chromium_src-fe2ae5fbf23243039bdc94f8f8672bc371f5339f.tar.bz2
[Sync] Move DataTypeStatusTable ownership into DataTypeManager.
The DataTypeManager now maintains its own status table, which it posts a copy of on each configuration completion. This makes testing configuration results easier as we can now just check the type status table, and makes the DTM more self contained. To make this work a HistoryDeleteDirectives datatype controller was added to encapsulate the encryption dependency the type has. Additionally, the PSS is now able to tell the DTM to reset type errors (e.g. when the user is attempting to re-configure with or without certain types). BUG=368834 Review URL: https://codereview.chromium.org/523043005 Cr-Commit-Position: refs/heads/master@{#292962}
Diffstat (limited to 'components/sync_driver/data_type_status_table.h')
-rw-r--r--components/sync_driver/data_type_status_table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/sync_driver/data_type_status_table.h b/components/sync_driver/data_type_status_table.h
index f3bb19a..bf2e0a8 100644
--- a/components/sync_driver/data_type_status_table.h
+++ b/components/sync_driver/data_type_status_table.h
@@ -16,7 +16,7 @@ class DataTypeStatusTable {
public:
typedef std::map<syncer::ModelType, syncer::SyncError> TypeErrorMap;
- explicit DataTypeStatusTable();
+ DataTypeStatusTable();
~DataTypeStatusTable();
// Copy and assign welcome.