Index: chrome/browser/extensions/extension_webstore_private_api.h |
diff --git a/chrome/browser/extensions/extension_webstore_private_api.h b/chrome/browser/extensions/extension_webstore_private_api.h |
index 8a9945f8adefc681cecc444605e8ce9c4cac8ebc..5499d73b62decb04dc4c3ee92c46c17fea65ebff 100644 |
--- a/chrome/browser/extensions/extension_webstore_private_api.h |
+++ b/chrome/browser/extensions/extension_webstore_private_api.h |
@@ -33,10 +33,6 @@ class WebstorePrivateApi { |
// Allows you to override the WebstoreInstaller delegate for testing. |
static void SetWebstoreInstallerDelegateForTesting( |
WebstoreInstaller::Delegate* delegate); |
- |
- // If |allow| is true, then the extension IDs used by the SilentlyInstall |
- // apitest will be trusted. |
- static void SetTrustTestIDsForTesting(bool allow); |
}; |
class InstallBundleFunction : public AsyncExtensionFunction, |
@@ -142,37 +138,6 @@ class CompleteInstallFunction : public SyncExtensionFunction { |
DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.completeInstall"); |
}; |
-class SilentlyInstallFunction : public AsyncExtensionFunction, |
- public WebstoreInstallHelper::Delegate, |
- public WebstoreInstaller::Delegate { |
- public: |
- SilentlyInstallFunction(); |
- |
- // WebstoreInstallHelper::Delegate implementation. |
- virtual void OnWebstoreParseSuccess( |
- const std::string& id, |
- const SkBitmap& icon, |
- base::DictionaryValue* parsed_manifest) OVERRIDE; |
- virtual void OnWebstoreParseFailure( |
- const std::string& id, |
- InstallHelperResultCode result_code, |
- const std::string& error_message) OVERRIDE; |
- |
- // WebstoreInstaller::Delegate implementation. |
- virtual void OnExtensionInstallSuccess(const std::string& id) OVERRIDE; |
- virtual void OnExtensionInstallFailure(const std::string& id, |
- const std::string& error) OVERRIDE; |
- |
- protected: |
- virtual ~SilentlyInstallFunction(); |
- virtual bool RunImpl() OVERRIDE; |
- |
- private: |
- std::string id_; |
- std::string manifest_; |
- DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.silentlyInstall"); |
-}; |
- |
class GetBrowserLoginFunction : public SyncExtensionFunction { |
virtual bool RunImpl() OVERRIDE; |
DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.getBrowserLogin"); |