Index: chrome/browser/extensions/external_provider_impl.h |
diff --git a/chrome/browser/extensions/external_provider_impl.h b/chrome/browser/extensions/external_provider_impl.h |
index 2d816bc04e1c64c000b12f4f451e1a8c6e0fc1f1..11d695a491593afc0992593c4db9e29c98c58862 100644 |
--- a/chrome/browser/extensions/external_provider_impl.h |
+++ b/chrome/browser/extensions/external_provider_impl.h |
@@ -10,6 +10,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_vector.h" |
#include "chrome/browser/extensions/external_loader.h" |
#include "extensions/browser/external_provider_interface.h" |
#include "extensions/common/manifest.h" |
@@ -55,6 +56,10 @@ class ExternalProviderImpl : public ExternalProviderInterface { |
// owned ExternalLoader instance. |
virtual void SetPrefs(base::DictionaryValue* prefs); |
+ // Updates the underlying prefs and notifies provider. |
+ // Only to be called by the owned ExternalLoader instance. |
+ void UpdatePrefs(base::DictionaryValue* prefs); |
+ |
// ExternalProvider implementation: |
void ServiceShutdown() override; |
void VisitRegisteredExtension() override; |
@@ -96,6 +101,12 @@ class ExternalProviderImpl : public ExternalProviderInterface { |
const std::string& extension_id, |
std::set<std::string>* unsupported_extensions); |
+ // Retrieves the extensions that were found in this provider. |
+ void RetrieveExtensionsFromPrefs( |
+ ScopedVector<ExternalExtensionInstallInfoUpdateUrl>* |
+ external_update_url_extensions, |
+ ScopedVector<ExternalExtensionInstallInfoFile>* external_file_extensions); |
+ |
// Location for external extensions that are provided by this provider from |
// local crx files. |
const Manifest::Location crx_location_; |