Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: components/sync_driver/data_type_manager.h

Issue 535683002: Fix use-after-free in HDDDTC shutdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | components/sync_driver/data_type_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e4657b697c97a591547f4354662361fbca77d5dc..9c65af5452d8b423af9e9cc492b7f8bfdc7bab11 100644
--- a/components/sync_driver/data_type_manager.h
+++ b/components/sync_driver/data_type_manager.h
@@ -10,6 +10,7 @@
#include <string>
#include "components/sync_driver/data_type_controller.h"
+#include "components/sync_driver/data_type_status_table.h"
#include "sync/api/sync_error.h"
#include "sync/internal_api/public/base/model_type.h"
#include "sync/internal_api/public/configure_reason.h"
@@ -52,6 +53,7 @@ class DataTypeManager {
ConfigureStatus status;
syncer::ModelTypeSet requested_types;
+ DataTypeStatusTable data_type_status_table;
};
virtual ~DataTypeManager() {}
@@ -78,6 +80,9 @@ class DataTypeManager {
// necessary.
virtual void ReenableType(syncer::ModelType type) = 0;
+ // Resets all data type error state.
+ virtual void ResetDataTypeErrors() = 0;
+
virtual void PurgeForMigration(syncer::ModelTypeSet undesired_types,
syncer::ConfigureReason reason) = 0;
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | components/sync_driver/data_type_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698