diff options
Diffstat (limited to 'extensions/common/extension.h')
-rw-r--r-- | extensions/common/extension.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/extensions/common/extension.h b/extensions/common/extension.h index df06d0f..13a86b7 100644 --- a/extensions/common/extension.h +++ b/extensions/common/extension.h @@ -5,27 +5,21 @@ #ifndef EXTENSIONS_COMMON_EXTENSION_H_ #define EXTENSIONS_COMMON_EXTENSION_H_ -#include <algorithm> -#include <iosfwd> #include <map> #include <set> #include <string> -#include <utility> #include <vector> -#include "base/containers/hash_tables.h" #include "base/files/file_path.h" #include "base/macros.h" #include "base/memory/linked_ptr.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" -#include "base/synchronization/lock.h" #include "base/threading/thread_checker.h" #include "extensions/common/extension_resource.h" #include "extensions/common/install_warning.h" #include "extensions/common/manifest.h" #include "extensions/common/url_pattern_set.h" -#include "ui/base/accelerators/accelerator.h" #include "url/gurl.h" #if !defined(ENABLE_EXTENSIONS) @@ -55,11 +49,6 @@ typedef std::string ExtensionId; // RuntimeData is protected by a lock. class Extension : public base::RefCountedThreadSafe<Extension> { public: - struct ManifestData; - - typedef std::map<const std::string, linked_ptr<ManifestData> > - ManifestDataMap; - enum State { DISABLED = 0, ENABLED, @@ -466,6 +455,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> { scoped_ptr<Manifest> manifest_; // Stored parsed manifest data. + using ManifestDataMap = std::map<std::string, scoped_ptr<ManifestData>>; ManifestDataMap manifest_data_; // Set to true at the end of InitValue when initialization is finished. |