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

Unified Diff: components/autofill/core/browser/webdata/autocomplete_syncable_service.h

Issue 2908973003: Replace deprecated base::NonThreadSafe in components/autofill in favor of SequenceChecker. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | components/autofill/core/browser/webdata/autocomplete_syncable_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/webdata/autocomplete_syncable_service.h
diff --git a/components/autofill/core/browser/webdata/autocomplete_syncable_service.h b/components/autofill/core/browser/webdata/autocomplete_syncable_service.h
index 52932be7fe10164b94229ab7ece15641026494dd..c94383b7286e04d2265e2a2449e7a379dbc22ba8 100644
--- a/components/autofill/core/browser/webdata/autocomplete_syncable_service.h
+++ b/components/autofill/core/browser/webdata/autocomplete_syncable_service.h
@@ -13,8 +13,8 @@
#include "base/macros.h"
#include "base/scoped_observer.h"
+#include "base/sequence_checker.h"
#include "base/supports_user_data.h"
-#include "base/threading/non_thread_safe.h"
#include "components/autofill/core/browser/webdata/autofill_change.h"
#include "components/autofill/core/browser/webdata/autofill_entry.h"
#include "components/autofill/core/browser/webdata/autofill_webdata_backend.h"
@@ -49,8 +49,7 @@ class AutofillTable;
class AutocompleteSyncableService
: public base::SupportsUserData::Data,
public syncer::SyncableService,
- public AutofillWebDataServiceObserverOnDBThread,
- public base::NonThreadSafe {
+ public AutofillWebDataServiceObserverOnDBThread {
public:
~AutocompleteSyncableService() override;
@@ -162,6 +161,8 @@ class AutocompleteSyncableService
syncer::SyncableService::StartSyncFlare flare_;
+ SEQUENCE_CHECKER(sequence_checker_);
+
DISALLOW_COPY_AND_ASSIGN(AutocompleteSyncableService);
};
« no previous file with comments | « no previous file | components/autofill/core/browser/webdata/autocomplete_syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698