Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3547)

Unified Diff: chrome/browser/extensions/test_extension_service.h

Issue 6965018: Install CRX updates one at a time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Polish Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/test_extension_service.h
diff --git a/chrome/browser/extensions/test_extension_service.h b/chrome/browser/extensions/test_extension_service.h
index 5977c5c6b3f2a9f264e830e206e0ce7a6abc8133..751ec71153049f3a5a5114939296e8137e02a548 100644
--- a/chrome/browser/extensions/test_extension_service.h
+++ b/chrome/browser/extensions/test_extension_service.h
@@ -11,6 +11,8 @@
#include "chrome/browser/extensions/extension_service.h"
+class CrxInstaller;
+
// Implemention of ExtensionServiceInterface with default
// implementations for methods that add failures. You should subclass
// this and override the methods you care about.
@@ -21,9 +23,12 @@ class TestExtensionService : public ExtensionServiceInterface {
// ExtensionServiceInterface implementation.
virtual const ExtensionList* extensions() const OVERRIDE;
virtual PendingExtensionManager* pending_extension_manager() OVERRIDE;
- virtual void UpdateExtension(const std::string& id,
- const FilePath& path,
- const GURL& download_url) OVERRIDE;
+
+ virtual bool UpdateExtension(
+ const std::string& id,
+ const FilePath& path,
+ const GURL& download_url,
+ CrxInstaller** out_crx_installer) OVERRIDE;
virtual const Extension* GetExtensionById(
const std::string& id, bool include_disabled) const OVERRIDE;
virtual const Extension* GetInstalledExtension(
« no previous file with comments | « chrome/browser/extensions/extension_updater_unittest.cc ('k') | chrome/browser/extensions/test_extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698