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

Unified Diff: chrome/browser/sync/glue/preference_model_associator.cc

Issue 2867036: sync: Remove unused function ChromeModelHasUserCreatedNodes. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: explicit Created 10 years, 6 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: chrome/browser/sync/glue/preference_model_associator.cc
diff --git a/chrome/browser/sync/glue/preference_model_associator.cc b/chrome/browser/sync/glue/preference_model_associator.cc
index 3e3c1ec87dc7fe8ad4571e9ef5170ed0704eb260..06959055e4100cf3f2f4a266e717c3e65b07e2a7 100644
--- a/chrome/browser/sync/glue/preference_model_associator.cc
+++ b/chrome/browser/sync/glue/preference_model_associator.cc
@@ -154,14 +154,6 @@ bool PreferenceModelAssociator::SyncModelHasUserCreatedNodes(bool* has_nodes) {
return true;
}
-bool PreferenceModelAssociator::ChromeModelHasUserCreatedNodes(
- bool* has_nodes) {
- DCHECK(has_nodes);
- // Assume the preferences model always have user-created nodes.
- *has_nodes = true;
- return true;
-}
-
int64 PreferenceModelAssociator::GetSyncIdFromChromeId(
const std::wstring preference_name) {
PreferenceNameToSyncIdMap::const_iterator iter =

Powered by Google App Engine
This is Rietveld 408576698