Searched refs:has_nodes (Results 1 - 21 of 21) sorted by relevance

/external/chromium/chrome/browser/sync/glue/
H A Dmodel_associator_mock.h21 MOCK_METHOD1(SyncModelHasUserCreatedNodes, bool(bool* has_nodes));
H A Dtheme_model_associator.cc81 bool ThemeModelAssociator::SyncModelHasUserCreatedNodes(bool* has_nodes) { argument
82 DCHECK(has_nodes);
83 *has_nodes = false;
92 *has_nodes = root.GetFirstChildId() != sync_api::kInvalidId;
H A Dtheme_model_associator.h32 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes);
H A Dextension_model_associator.h38 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes);
H A Dextension_model_associator.cc55 bool ExtensionModelAssociator::SyncModelHasUserCreatedNodes(bool* has_nodes) { argument
57 return RootNodeHasChildren(traits_.root_node_tag, user_share_, has_nodes);
H A Dmodel_associator.h35 // The has_nodes out parameter is set to true if the sync model has
38 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes) = 0;
H A Dbookmark_model_associator.h59 // The has_nodes out param is true if the sync model has nodes other
61 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes);
H A Dpreference_model_associator.cc149 bool PreferenceModelAssociator::SyncModelHasUserCreatedNodes(bool* has_nodes) { argument
150 DCHECK(has_nodes);
151 *has_nodes = false;
169 *has_nodes = sync_api::kInvalidId != preferences_node.GetFirstChildId();
H A Dpreference_model_associator.h65 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes);
H A Dbookmark_model_associator.cc232 bool BookmarkModelAssociator::SyncModelHasUserCreatedNodes(bool* has_nodes) { argument
233 DCHECK(has_nodes);
234 *has_nodes = false;
258 *has_nodes = bookmark_bar_node.GetFirstChildId() != sync_api::kInvalidId ||
H A Dpassword_model_associator.cc177 bool PasswordModelAssociator::SyncModelHasUserCreatedNodes(bool* has_nodes) { argument
178 DCHECK(has_nodes);
179 *has_nodes = false;
197 *has_nodes = sync_api::kInvalidId != password_node.GetFirstChildId();
H A Dpassword_model_associator.h67 // The has_nodes out param is true if the sync model has nodes other
69 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes);
H A Dautofill_model_associator.cc383 bool AutofillModelAssociator::SyncModelHasUserCreatedNodes(bool* has_nodes) { argument
384 DCHECK(has_nodes);
385 *has_nodes = false;
403 *has_nodes = sync_api::kInvalidId != autofill_node.GetFirstChildId();
H A Dautofill_model_associator.h62 // The has_nodes out param is true if the sync model has nodes other
64 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes);
H A Dautofill_profile_model_associator.h68 // The has_nodes out param is true if the sync model has nodes other
70 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes);
H A Dtyped_url_model_associator.cc209 bool TypedUrlModelAssociator::SyncModelHasUserCreatedNodes(bool* has_nodes) { argument
210 DCHECK(has_nodes);
211 *has_nodes = false;
229 *has_nodes = sync_api::kInvalidId != typed_url_node.GetFirstChildId();
H A Dtyped_url_model_associator.h72 // The has_nodes out param is true if the sync model has nodes other
74 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes);
H A Dautofill_profile_model_associator.cc219 bool *has_nodes) {
220 CHECK_NE(has_nodes, reinterpret_cast<bool*>(NULL));
231 *has_nodes = sync_api::kInvalidId != node.GetFirstChildId();
218 SyncModelHasUserCreatedNodes( bool *has_nodes) argument
H A Dsession_model_associator.cc67 bool SessionModelAssociator::SyncModelHasUserCreatedNodes(bool* has_nodes) { argument
69 CHECK(has_nodes);
70 *has_nodes = false;
79 *has_nodes = root.GetFirstChildId() != sync_api::kInvalidId;
H A Dsession_model_associator.h61 // The has_nodes out parameter is set to true if the sync model has
64 virtual bool SyncModelHasUserCreatedNodes(bool* has_nodes);
/external/chromium/chrome/browser/sync/
H A Dprofile_sync_service_session_unittest.cc177 bool has_nodes; local
178 ASSERT_TRUE(model_associator_->SyncModelHasUserCreatedNodes(&has_nodes));
179 ASSERT_TRUE(has_nodes);
204 bool has_nodes; local
205 ASSERT_TRUE(model_associator_->SyncModelHasUserCreatedNodes(&has_nodes));
206 ASSERT_TRUE(has_nodes);
212 ASSERT_TRUE(model_associator_->SyncModelHasUserCreatedNodes(&has_nodes));
213 ASSERT_TRUE(has_nodes);
256 bool has_nodes; local
257 ASSERT_TRUE(model_associator_->SyncModelHasUserCreatedNodes(&has_nodes));
[all...]

Completed in 106 milliseconds