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

Unified Diff: ui/app_list/app_list_folder_item.h

Issue 148403007: Protect AppListItemList Add/Remove and fix sync bugs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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
Index: ui/app_list/app_list_folder_item.h
diff --git a/ui/app_list/app_list_folder_item.h b/ui/app_list/app_list_folder_item.h
index 18c890b11b14200720445d9abad227554bd6fdbb..02d54cece346d1c011e6dac9aedaad3fffcdd1ee 100644
--- a/ui/app_list/app_list_folder_item.h
+++ b/ui/app_list/app_list_folder_item.h
@@ -43,6 +43,9 @@ class APP_LIST_EXPORT AppListFolderItem : public AppListItem,
// bottom left, bottom right.
static Rects GetTopIconsBounds(const gfx::Rect& folder_icon_bounds);
+ // Returns an id for a new folder.
+ static std::string GenerateId();
+
private:
// AppListItem
virtual void Activate(int event_flags) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698