Searched refs:app_item (Results 1 – 5 of 5) sorted by relevance
60 bool UpdateSyncItemFromAppItem(const AppListItem* app_item, in UpdateSyncItemFromAppItem() argument62 DCHECK_EQ(sync_item->item_id, app_item->id()); in UpdateSyncItemFromAppItem()65 sync_item->parent_id != app_item->folder_id()) { in UpdateSyncItemFromAppItem()66 sync_item->parent_id = app_item->folder_id(); in UpdateSyncItemFromAppItem()69 if (sync_item->item_name != app_item->name()) { in UpdateSyncItemFromAppItem()70 sync_item->item_name = app_item->name(); in UpdateSyncItemFromAppItem()74 !app_item->position().Equals(sync_item->item_ordinal)) { in UpdateSyncItemFromAppItem()75 sync_item->item_ordinal = app_item->position(); in UpdateSyncItemFromAppItem()311 void AppListSyncableService::AddItem(scoped_ptr<AppListItem> app_item) { in AddItem() argument312 SyncItem* sync_item = FindOrAddSyncItem(app_item.get()); in AddItem()[all …]
67 void AddItem(scoped_ptr<AppListItem> app_item);73 void UpdateItem(AppListItem* app_item);123 SyncItem* FindOrAddSyncItem(AppListItem* app_item);126 SyncItem* CreateSyncItemFromAppItem(AppListItem* app_item);130 void AddOrUpdateFromSyncItem(AppListItem* app_item);141 void UpdateSyncItem(AppListItem* app_item);166 AppListItem* app_item);
220 EXPECT_EQ(0, parser.app_item()->num_packets()); in TEST()242 EXPECT_EQ(1, parser.app_item()->num_packets()); in TEST()243 EXPECT_EQ(kDataLength, parser.app_item()->DataLength()); in TEST()244 EXPECT_EQ(0, strncmp(kData, (const char*)parser.app_item()->Data(), in TEST()245 parser.app_item()->DataLength())); in TEST()
649 const ash::ShelfItem& app_item = GetLastLauncherItem(); in IN_PROC_BROWSER_TEST_F() local650 ash::ShelfID app_id = app_item.id; in IN_PROC_BROWSER_TEST_F()851 const ash::ShelfItem& app_item = in IN_PROC_BROWSER_TEST_F() local856 GetItemController(app_item.id); in IN_PROC_BROWSER_TEST_F()864 EXPECT_EQ(ash::kShelfSize, app_item.image.height()); in IN_PROC_BROWSER_TEST_F()
643 AppItem* app_item() { return &app_item_; } in app_item() function