| Index: chrome/browser/extensions/manifest_url_parser.h
|
| diff --git a/chrome/browser/extensions/manifest_url_parser.h b/chrome/browser/extensions/manifest_url_parser.h
|
| index c7d6a231348a42ad644849886fcda00fa17f2c1a..4484d1ecbb164b43887ecf7f2d56e203c165440e 100644
|
| --- a/chrome/browser/extensions/manifest_url_parser.h
|
| +++ b/chrome/browser/extensions/manifest_url_parser.h
|
| @@ -7,12 +7,15 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
|
| +#include "content/public/browser/notification_observer.h"
|
| +#include "content/public/browser/notification_registrar.h"
|
|
|
| class Profile;
|
|
|
| namespace extensions {
|
|
|
| -class ManifestURLParser : public ProfileKeyedAPI {
|
| +class ManifestURLParser : public ProfileKeyedAPI,
|
| + public content::NotificationObserver {
|
| public:
|
| explicit ManifestURLParser(Profile* profile);
|
| virtual ~ManifestURLParser();
|
| @@ -20,6 +23,11 @@ class ManifestURLParser : public ProfileKeyedAPI {
|
| // ProfileKeyedAPI implementation.
|
| static ProfileKeyedAPIFactory<ManifestURLParser>* GetFactoryInstance();
|
|
|
| + // content::NotificationObserver implementation.
|
| + virtual void Observe(int type,
|
| + const content::NotificationSource& source,
|
| + const content::NotificationDetails& details) OVERRIDE;
|
| +
|
| private:
|
| friend class ProfileKeyedAPIFactory<ManifestURLParser>;
|
|
|
| @@ -29,6 +37,9 @@ class ManifestURLParser : public ProfileKeyedAPI {
|
| }
|
| static const bool kServiceIsNULLWhileTesting = true;
|
|
|
| + Profile* const profile_;
|
| + content::NotificationRegistrar registrar_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ManifestURLParser);
|
| };
|
|
|
|
|