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

Side by Side Diff: chrome/browser/sync/glue/password_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
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_PASSWORD_MODEL_ASSOCIATOR_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_
6 #define CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Delete all password nodes. 63 // Delete all password nodes.
64 bool DeleteAllNodes(sync_api::WriteTransaction* trans); 64 bool DeleteAllNodes(sync_api::WriteTransaction* trans);
65 65
66 // Clears all associations. 66 // Clears all associations.
67 virtual bool DisassociateModels(); 67 virtual bool DisassociateModels();
68 68
69 // The has_nodes out param is true if the sync model has nodes other 69 // The has_nodes out param is true if the sync model has nodes other
70 // than the permanent tagged nodes. 70 // than the permanent tagged nodes.
71 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes); 71 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes);
72 72
73 // The has_nodes out param is true if the autofill model has any
74 // user-defined password entries.
75 virtual bool ChromeModelHasUserCreatedNodes(bool* has_nodes);
76
77 // See ModelAssociator interface. 73 // See ModelAssociator interface.
78 virtual void AbortAssociation(); 74 virtual void AbortAssociation();
79 75
80 // Not implemented. 76 // Not implemented.
81 virtual const std::string* GetChromeNodeFromSyncId(int64 sync_id) { 77 virtual const std::string* GetChromeNodeFromSyncId(int64 sync_id) {
82 return NULL; 78 return NULL;
83 } 79 }
84 80
85 // Not implemented. 81 // Not implemented.
86 virtual bool InitSyncNodeFromChromeId(std::string node_id, 82 virtual bool InitSyncNodeFromChromeId(std::string node_id,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 145
150 PasswordToSyncIdMap id_map_; 146 PasswordToSyncIdMap id_map_;
151 SyncIdToPasswordMap id_map_inverse_; 147 SyncIdToPasswordMap id_map_inverse_;
152 148
153 DISALLOW_COPY_AND_ASSIGN(PasswordModelAssociator); 149 DISALLOW_COPY_AND_ASSIGN(PasswordModelAssociator);
154 }; 150 };
155 151
156 } // namespace browser_sync 152 } // namespace browser_sync
157 153
158 #endif // CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_ 154 #endif // CHROME_BROWSER_SYNC_GLUE_PASSWORD_MODEL_ASSOCIATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/model_associator_mock.h ('k') | chrome/browser/sync/glue/password_model_associator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698