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

Unified Diff: chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.h

Issue 10170029: Apps shouldn't disappear from pinned list after update (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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: chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.h
diff --git a/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.h b/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.h
index 8a58cf311bb452a68bf0e0c82f32b7798b65fb0c..c68ed00c6393ac25aecb46201e76780d5aeecfb5 100644
--- a/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.h
+++ b/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.h
@@ -7,7 +7,7 @@
#pragma once
#include <map>
-#include <queue>
+#include <deque>
#include <string>
#include "ash/launcher/launcher_delegate.h"
@@ -237,7 +237,7 @@ class ChromeLauncherDelegate : public ash::LauncherDelegate,
// not ready. Keep them in this list and create pinned item when the apps
// are installed (via sync or external extension provider.) The order of the
// list reflects the original order in pinned app list.
- std::queue<Item> pending_pinned_apps_;
+ std::deque<Item> pending_pinned_apps_;
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698