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

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

Issue 2317523003: [Merge-M54] arc: Don't sync app list change caused by Arc opt out. (Closed)
Patch Set: Created 4 years, 3 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_model_builder.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_model_builder.h
diff --git a/chrome/browser/ui/app_list/app_list_model_builder.h b/chrome/browser/ui/app_list/app_list_model_builder.h
index 5b74ae63f8da21e29954886b239e708e99b141bd..a2846f5f6ad0bedd0c798c4b2b0516f17fe81b0b 100644
--- a/chrome/browser/ui/app_list/app_list_model_builder.h
+++ b/chrome/browser/ui/app_list/app_list_model_builder.h
@@ -49,8 +49,9 @@ class AppListModelBuilder : public app_list::AppListItemListObserver {
// Inserts an app based on app ordinal prefs.
void InsertApp(std::unique_ptr<app_list::AppListItem> app);
- // Removes an app based on app id.
- void RemoveApp(const std::string& id);
+ // Removes an app based on app id. If |unsynced_change| is set to true then
+ // app is removed only from model and sync service is not used.
+ void RemoveApp(const std::string& id, bool unsynced_change);
const app_list::AppListSyncableService::SyncItem* GetSyncItem(
const std::string& id);
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/app_list_model_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698