| Index: chrome/test/testing_profile.h
|
| diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h
|
| index 7ac4651ed84c02e812dcbfd65a8e3d8bbf988522..f241b7ef4ffc11195357feb1d464561fa87b162f 100644
|
| --- a/chrome/test/testing_profile.h
|
| +++ b/chrome/test/testing_profile.h
|
| @@ -35,11 +35,11 @@ class GeolocationPermissionContext;
|
| class HistoryService;
|
| class HostContentSettingsMap;
|
| class PrefService;
|
| +class ProfileDependencyManager;
|
| class ProfileSyncService;
|
| class SessionService;
|
| class TemplateURLModel;
|
| class TestingPrefService;
|
| -class ThemeService;
|
| class URLRequestContextGetter;
|
| class WebKitContext;
|
|
|
| @@ -122,6 +122,8 @@ class TestingProfile : public Profile {
|
|
|
| TestingPrefService* GetTestingPrefService();
|
|
|
| + void SetProfileDependencyManager(ProfileDependencyManager* manager);
|
| +
|
| virtual ProfileId GetRuntimeId();
|
|
|
| virtual FilePath GetPath();
|
| @@ -386,6 +388,11 @@ class TestingProfile : public Profile {
|
| scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
|
|
|
| scoped_refptr<prerender::PrerenderManager> prerender_manager_;
|
| +
|
| + // We keep a weak pointer to the dependency manager we want to notify on our
|
| + // death. Defaults to the Singleton implementation but overridable for
|
| + // testing.
|
| + ProfileDependencyManager* profile_dependency_manager_;
|
| };
|
|
|
| // A profile that derives from another profile. This does not actually
|
|
|