| Index: components/sync/driver/data_type_manager.h
|
| diff --git a/components/sync/driver/data_type_manager.h b/components/sync/driver/data_type_manager.h
|
| index b3d271e1a1b57ee9eb250eb7e9b84b71cb6cb0cd..91c65c58d5fc17668f32a646f79dd005371d6bf0 100644
|
| --- a/components/sync/driver/data_type_manager.h
|
| +++ b/components/sync/driver/data_type_manager.h
|
| @@ -50,6 +50,7 @@ class DataTypeManager {
|
| ConfigureStatus status;
|
| ModelTypeSet requested_types;
|
| DataTypeStatusTable data_type_status_table;
|
| + bool was_catch_up_configure = false;
|
| };
|
|
|
| virtual ~DataTypeManager() {}
|
| @@ -88,6 +89,12 @@ class DataTypeManager {
|
| // stopped.
|
| virtual void Stop() = 0;
|
|
|
| + // Get the set of current active data types (those chosen or configured by the
|
| + // user which have not also encountered a runtime error). Note that during
|
| + // configuration, this will the the empty set. Once the configuration
|
| + // completes the set will be updated.
|
| + virtual ModelTypeSet GetActiveDataTypes() const = 0;
|
| +
|
| // The current state of the data type manager.
|
| virtual State state() const = 0;
|
| };
|
|
|