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

Unified Diff: chrome/browser/ui/app_list/app_list_syncable_service.h

Issue 413033003: Always create OEM folder, update position after sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_syncable_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/app_list_syncable_service.h
diff --git a/chrome/browser/ui/app_list/app_list_syncable_service.h b/chrome/browser/ui/app_list/app_list_syncable_service.h
index 7b5a929b86059814f690b695371b6f2c9e43e9ad..d609214e36d15d9e696865bbfa13591bf6f11f5b 100644
--- a/chrome/browser/ui/app_list/app_list_syncable_service.h
+++ b/chrome/browser/ui/app_list/app_list_syncable_service.h
@@ -180,10 +180,8 @@ class AppListSyncableService : public syncer::SyncableService,
void DeleteSyncItemSpecifics(const sync_pb::AppListSpecifics& specifics);
// Creates the OEM folder and sets its name if necessary. Returns the OEM
- // folder id or an empty string if the folder can not be created. |item_id|
- // is the item that needs to be placed in the folder, used only for tracking
- // if the folder can not be created.
- std::string FindOrCreateOemFolder(const std::string& item_id);
+ // folder id.
+ std::string FindOrCreateOemFolder();
// Gets the location for the OEM folder. Called when the folder is first
// created.
@@ -205,7 +203,6 @@ class AppListSyncableService : public syncer::SyncableService,
syncer::SyncableService::StartSyncFlare flare_;
bool first_app_list_sync_;
std::string oem_folder_name_;
- std::vector<std::string> oem_folder_item_ids_;
// Provides integration with Drive apps.
scoped_ptr<DriveAppProvider> drive_app_provider_;
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698