| 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 b2d164acca6643d287fdb34914f049a40b8ee520..fb560954b90cd7c2779c627e3410d4718b7b4ddd 100644
|
| --- a/chrome/browser/extensions/manifest_url_parser.h
|
| +++ b/chrome/browser/extensions/manifest_url_parser.h
|
| @@ -7,16 +7,24 @@
|
|
|
| #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();
|
|
|
| + // content::NotificationObserver implementation.
|
| + virtual void Observe(int type,
|
| + const content::NotificationSource& source,
|
| + const content::NotificationDetails& details) OVERRIDE;
|
| +
|
| private:
|
| friend class ProfileKeyedAPIFactory<ManifestURLParser>;
|
|
|
| @@ -26,6 +34,9 @@ class ManifestURLParser : public ProfileKeyedAPI {
|
| }
|
| static const bool kServiceIsNULLWhileTesting = true;
|
|
|
| + Profile* const profile_;
|
| + content::NotificationRegistrar registrar_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ManifestURLParser);
|
| };
|
|
|
|
|