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

Unified Diff: chrome/browser/extensions/updater/extension_updater.h

Issue 9595001: Apps on NTP should be in order of installation (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: A few fixes per comments made 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/extensions/updater/extension_updater.h
diff --git a/chrome/browser/extensions/updater/extension_updater.h b/chrome/browser/extensions/updater/extension_updater.h
index 06a4ae6e82dca55bbcec2f24515b4c5db4e04ade..45fc0edff2c9877ba613919053f090440d8c98ce 100644
--- a/chrome/browser/extensions/updater/extension_updater.h
+++ b/chrome/browser/extensions/updater/extension_updater.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_
#pragma once
+#include <list>
#include <set>
Aaron Boodman 2012/04/09 17:02:14 Is the set include still necessary?
mitchellwrosen 2012/04/13 22:20:18 Nope!
#include <stack>
#include <string>
@@ -113,7 +114,7 @@ class ExtensionUpdater : public ExtensionDownloaderDelegate,
// Add fetch records for extensions that are installed to the downloader,
// ignoring |pending_ids| so the extension isn't fetched again.
void AddToDownloader(const ExtensionSet* extensions,
- const std::set<std::string>& pending_ids);
+ const std::list<std::string>& pending_ids);
// BaseTimer::ReceiverMethod callback.
void TimerFired();
@@ -184,7 +185,7 @@ class ExtensionUpdater : public ExtensionDownloaderDelegate,
bool blacklist_checks_enabled_;
// The ids of extensions that have in-progress update checks.
- std::set<std::string> in_progress_ids_;
+ std::list<std::string> in_progress_ids_;
// Observes CRX installs we initiate.
content::NotificationRegistrar registrar_;

Powered by Google App Engine
This is Rietveld 408576698