// Removes sync item matching |id|.
void RemoveSyncItem(const std::string& id);
- // Updates folder items that may get created during initial sync. If
- // oem_at_end is true then move any OEM folder to the end of the list.
- void ResolveFolderPositions(bool move_oem_to_end);
+ // Updates folder items that may get created during initial sync.
+ void ResolveFolderPositions();
// Removes any empty SyncItem folders and deletes them from sync. Called
// after a sync item is removed (which may result in an empty folder).
// folder id.
std::string FindOrCreateOemFolder();
+ // Gets the location for the OEM folder. Called when the folder is first
+ // created.
+ syncer::StringOrdinal GetOemFolderPos();
+
// Returns true if an extension matching |id| exists and was installed by
// an OEM (extension->was_installed_by_oem() is true).
bool AppIsOem(const std::string& id);
scoped_ptr<syncer::SyncErrorFactory> sync_error_handler_;
SyncItemMap sync_items_;
syncer::SyncableService::StartSyncFlare flare_;
+ bool first_app_list_sync_;
std::string oem_folder_name_;
// Provides integration with Drive apps.