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

Side by Side Diff: chrome/browser/sync/glue/autofill_model_associator.h

Issue 2867036: sync: Remove unused function ChromeModelHasUserCreatedNodes. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: explicit Created 10 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/sync/glue/autofill_model_associator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_GLUE_AUTOFILL_MODEL_ASSOCIATOR_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_AUTOFILL_MODEL_ASSOCIATOR_H_
6 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_MODEL_ASSOCIATOR_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_AUTOFILL_MODEL_ASSOCIATOR_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Iterates through the sync model looking for matched pairs of items. 70 // Iterates through the sync model looking for matched pairs of items.
71 virtual bool AssociateModels(); 71 virtual bool AssociateModels();
72 72
73 // Clears all associations. 73 // Clears all associations.
74 virtual bool DisassociateModels(); 74 virtual bool DisassociateModels();
75 75
76 // The has_nodes out param is true if the sync model has nodes other 76 // The has_nodes out param is true if the sync model has nodes other
77 // than the permanent tagged nodes. 77 // than the permanent tagged nodes.
78 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes); 78 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes);
79 79
80 // The has_nodes out param is true if the autofill model has any
81 // user-defined autofill entries.
82 virtual bool ChromeModelHasUserCreatedNodes(bool* has_nodes);
83
84 // See ModelAssociator interface. 80 // See ModelAssociator interface.
85 virtual void AbortAssociation(); 81 virtual void AbortAssociation();
86 82
87 // Not implemented. 83 // Not implemented.
88 virtual const std::string* GetChromeNodeFromSyncId(int64 sync_id) { 84 virtual const std::string* GetChromeNodeFromSyncId(int64 sync_id) {
89 return NULL; 85 return NULL;
90 } 86 }
91 87
92 // Not implemented. 88 // Not implemented.
93 virtual bool InitSyncNodeFromChromeId(std::string node_id, 89 virtual bool InitSyncNodeFromChromeId(std::string node_id,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // AssociateModels method as soon as possible. 209 // AssociateModels method as soon as possible.
214 Lock abort_association_pending_lock_; 210 Lock abort_association_pending_lock_;
215 bool abort_association_pending_; 211 bool abort_association_pending_;
216 212
217 DISALLOW_COPY_AND_ASSIGN(AutofillModelAssociator); 213 DISALLOW_COPY_AND_ASSIGN(AutofillModelAssociator);
218 }; 214 };
219 215
220 } // namespace browser_sync 216 } // namespace browser_sync
221 217
222 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_MODEL_ASSOCIATOR_H_ 218 #endif // CHROME_BROWSER_SYNC_GLUE_AUTOFILL_MODEL_ASSOCIATOR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/glue/autofill_model_associator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698