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

Unified Diff: extensions/browser/info_map.h

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase Created 3 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
« no previous file with comments | « extensions/browser/image_loader_unittest.cc ('k') | extensions/browser/info_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/info_map.h
diff --git a/extensions/browser/info_map.h b/extensions/browser/info_map.h
index c7c1ed96facec315d767d91afa6753618582effc..e77b4b5880ea6d411350dedc9d94b4aebca902db 100644
--- a/extensions/browser/info_map.h
+++ b/extensions/browser/info_map.h
@@ -37,14 +37,14 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
const ProcessMap& process_map() const { return process_map_; }
// Callback for when new extensions are loaded.
- void AddExtension(const extensions::Extension* extension,
+ void AddExtension(const Extension* extension,
base::Time install_time,
bool incognito_enabled,
bool notifications_disabled);
// Callback for when an extension is unloaded.
void RemoveExtension(const std::string& extension_id,
- const extensions::UnloadedExtensionInfo::Reason reason);
+ const UnloadedExtensionReason reason);
// Returns the time the extension was installed, or base::Time() if not found.
base::Time GetInstallTime(const std::string& extension_id) const;
@@ -55,7 +55,7 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
// Returns true if the given extension can see events and data from another
// sub-profile (incognito to original profile, or vice versa).
- bool CanCrossIncognito(const extensions::Extension* extension) const;
+ bool CanCrossIncognito(const Extension* extension) const;
// Adds an entry to process_map_.
void RegisterExtensionProcess(const std::string& extension_id,
@@ -108,7 +108,7 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
std::unique_ptr<QuotaService> quota_service_;
// Assignment of extensions to renderer processes.
- extensions::ProcessMap process_map_;
+ ProcessMap process_map_;
scoped_refptr<ContentVerifier> content_verifier_;
};
« no previous file with comments | « extensions/browser/image_loader_unittest.cc ('k') | extensions/browser/info_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698