| Index: chrome/test/testing_profile.h
|
| diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h
|
| index 8a32c9c66f621665efbb04dee3bde46493e390c1..d65739e037b261561d97b946b45e71d8d1d88aa6 100644
|
| --- a/chrome/test/testing_profile.h
|
| +++ b/chrome/test/testing_profile.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/scoped_temp_dir.h"
|
| #include "base/timer.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| +#include "content/browser/appcache/chrome_appcache_service.h"
|
|
|
| namespace content {
|
| class ResourceContextGetter;
|
| @@ -129,6 +130,10 @@ class TestingProfile : public Profile {
|
| const FilePath& install_directory,
|
| bool autoupdate_enabled);
|
|
|
| + // Normally a TestingProfile doesn't have a ChromeAppCacheService, but this
|
| + // function can be used for setting it if needed.
|
| + void SetAppCacheService(ChromeAppCacheService* appcache_service);
|
| +
|
| TestingPrefService* GetTestingPrefService();
|
|
|
| virtual TestingProfile* AsTestingProfile();
|
| @@ -393,6 +398,8 @@ class TestingProfile : public Profile {
|
| // death. Defaults to the Singleton implementation but overridable for
|
| // testing.
|
| ProfileDependencyManager* profile_dependency_manager_;
|
| +
|
| + scoped_refptr<ChromeAppCacheService> appcache_service_;
|
| };
|
|
|
| // A profile that derives from another profile. This does not actually
|
|
|