summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/pending_extension_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/pending_extension_info.h')
-rw-r--r--chrome/browser/extensions/pending_extension_info.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/chrome/browser/extensions/pending_extension_info.h b/chrome/browser/extensions/pending_extension_info.h
index 6f74ecf..0841210 100644
--- a/chrome/browser/extensions/pending_extension_info.h
+++ b/chrome/browser/extensions/pending_extension_info.h
@@ -6,9 +6,6 @@
#define CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_
#pragma once
-#include <map>
-#include <string>
-
#include "chrome/common/extensions/extension.h"
class GURL;
@@ -17,6 +14,8 @@ class GURL;
// and is intended to be installed in the next auto-update cycle. The
// update URL of a pending extension may be blank, in which case a
// default one is assumed.
+// TODO(skerner): Make this class an implementation detail of
+// PendingExtensionManager, and remove all other users.
class PendingExtensionInfo {
public:
typedef bool (*ShouldAllowInstallPredicate)(const Extension&);
@@ -30,7 +29,7 @@ class PendingExtensionInfo {
bool enable_incognito_on_install,
Extension::Location install_source);
- // Required for STL container membership. Should not be used.
+ // Required for STL container membership. Should not be used directly.
PendingExtensionInfo();
const GURL& update_url() const { return update_url_; }
@@ -69,8 +68,4 @@ class PendingExtensionInfo {
FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, AddPendingExtensionFromSync);
};
-// A PendingExtensionMap is a map from IDs of pending extensions to
-// their info.
-typedef std::map<std::string, PendingExtensionInfo> PendingExtensionMap;
-
#endif // CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_