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

Unified Diff: components/sync/base/sync_prefs.h

Issue 2701003002: [Sync] Clean up ModelType code. (Closed)
Patch Set: Now with EnumSet tests. Created 3 years, 10 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
Index: components/sync/base/sync_prefs.h
diff --git a/components/sync/base/sync_prefs.h b/components/sync/base/sync_prefs.h
index 52701501c480269db7e21120660cf11944bc5e77..4f60110ceecccf09f40d119e1902695b29b43de2 100644
--- a/components/sync/base/sync_prefs.h
+++ b/components/sync/base/sync_prefs.h
@@ -122,8 +122,8 @@ class SyncPrefs : NON_EXPORTED_BASE(public base::NonThreadSafe),
std::string GetSyncSessionsGUID() const;
void SetSyncSessionsGUID(const std::string& guid);
- // Maps |data_type| to its corresponding preference name.
- static const char* GetPrefNameForDataType(ModelType data_type);
+ // Maps |type| to its corresponding preference name.
+ static const char* GetPrefNameForDataType(ModelType type);
#if defined(OS_CHROMEOS)
// Use this spare bootstrap token only when setting up sync for the first

Powered by Google App Engine
This is Rietveld 408576698