diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-21 03:02:34 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-21 03:02:34 +0000 |
commit | 1c321ee57a522e891d91a41a09bd900f0afd6f0d (patch) | |
tree | bb6e35526d52b50d8e37216e8605c7b4aa08c86a /chrome/browser/extensions/extension_info_map.h | |
parent | e2a374f50043586ff684e0720bbbd99b9aa15c07 (diff) | |
download | chromium_src-1c321ee57a522e891d91a41a09bd900f0afd6f0d.zip chromium_src-1c321ee57a522e891d91a41a09bd900f0afd6f0d.tar.gz chromium_src-1c321ee57a522e891d91a41a09bd900f0afd6f0d.tar.bz2 |
Move Extension into extensions namespace
BUG=117262
TBR=aa@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10375021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_info_map.h')
-rw-r--r-- | chrome/browser/extensions/extension_info_map.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_info_map.h b/chrome/browser/extensions/extension_info_map.h index df8a6c5..8a64d55 100644 --- a/chrome/browser/extensions/extension_info_map.h +++ b/chrome/browser/extensions/extension_info_map.h @@ -17,7 +17,9 @@ #include "chrome/common/extensions/extension_constants.h" #include "chrome/common/extensions/extension_set.h" +namespace extensions { class Extension; +} // Contains extension data that needs to be accessed on the IO thread. It can // be created/destroyed on any thread, but all other methods must be called on @@ -34,7 +36,7 @@ class ExtensionInfoMap : public base::RefCountedThreadSafe<ExtensionInfoMap> { const extensions::ProcessMap& process_map() const; // Callback for when new extensions are loaded. - void AddExtension(const Extension* extension, + void AddExtension(const extensions::Extension* extension, base::Time install_time, bool incognito_enabled); @@ -51,7 +53,7 @@ class ExtensionInfoMap : public base::RefCountedThreadSafe<ExtensionInfoMap> { // 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 Extension* extension); + bool CanCrossIncognito(const extensions::Extension* extension); // Adds an entry to process_map_. void RegisterExtensionProcess(const std::string& extension_id, |