| Index: chrome/test/testing_profile.cc
|
| diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc
|
| index ec65b2bbc60764497921b1ffd9e06a6525d0f9fc..106254c30a17db6c9fa8c04282200f1e11c8416c 100644
|
| --- a/chrome/test/testing_profile.cc
|
| +++ b/chrome/test/testing_profile.cc
|
| @@ -347,6 +347,11 @@ ExtensionService* TestingProfile::CreateExtensionService(
|
| return extension_service_.get();
|
| }
|
|
|
| +void TestingProfile::SetAppCacheService(
|
| + ChromeAppCacheService* appcache_service) {
|
| + appcache_service_ = appcache_service;
|
| +}
|
| +
|
| FilePath TestingProfile::GetPath() {
|
| DCHECK(temp_dir_.IsValid()); // TODO(phajdan.jr): do it better.
|
| return temp_dir_.path();
|
| @@ -392,7 +397,7 @@ Profile* TestingProfile::GetOriginalProfile() {
|
| }
|
|
|
| ChromeAppCacheService* TestingProfile::GetAppCacheService() {
|
| - return NULL;
|
| + return appcache_service_.get();
|
| }
|
|
|
| webkit_database::DatabaseTracker* TestingProfile::GetDatabaseTracker() {
|
|
|