| Index: chrome/browser/extensions/updater/extension_updater.h
|
| diff --git a/chrome/browser/extensions/updater/extension_updater.h b/chrome/browser/extensions/updater/extension_updater.h
|
| index 1ca4d3ec3dadd7cd1502ce0247af5346481ad869..4f887b940375114e410976fdcf5d6087f8947489 100644
|
| --- a/chrome/browser/extensions/updater/extension_updater.h
|
| +++ b/chrome/browser/extensions/updater/extension_updater.h
|
| @@ -25,6 +25,7 @@
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "extensions/browser/extension_registry_observer.h"
|
| +#include "google_apis/gaia/identity_provider.h"
|
| #include "url/gurl.h"
|
|
|
| class ExtensionServiceInterface;
|
| @@ -87,7 +88,8 @@ class ExtensionUpdater : public ExtensionDownloaderDelegate,
|
| PrefService* prefs,
|
| Profile* profile,
|
| int frequency_seconds,
|
| - ExtensionCache* cache);
|
| + ExtensionCache* cache,
|
| + scoped_ptr<IdentityProvider> identity_provider);
|
|
|
| virtual ~ExtensionUpdater();
|
|
|
| @@ -270,6 +272,9 @@ class ExtensionUpdater : public ExtensionDownloaderDelegate,
|
|
|
| ExtensionCache* extension_cache_;
|
|
|
| + // Provided to the ExtensionDownloader to enable OAuth2 support.
|
| + scoped_ptr<IdentityProvider> webstore_identity_provider_;
|
| +
|
| // Keeps track of when an extension tried to update itself, so we can throttle
|
| // checks to prevent too many requests from being made.
|
| std::map<std::string, ThrottleInfo> throttle_info_;
|
|
|