| Index: chrome/test/base/testing_profile.h
|
| diff --git a/chrome/test/base/testing_profile.h b/chrome/test/base/testing_profile.h
|
| index 0c0847dc8f1706e24518e86cec3c9a0b2b2ac2fe..823cc732fa66fc9303faa3b343e3353c89059173 100644
|
| --- a/chrome/test/base/testing_profile.h
|
| +++ b/chrome/test/base/testing_profile.h
|
| @@ -48,6 +48,7 @@ class ProfileSyncService;
|
| class TemplateURLService;
|
| class TestingPrefService;
|
| class ThemeService;
|
| +class WebIntentsRegistry;
|
| class WebKitContext;
|
|
|
| namespace net {
|
| @@ -181,6 +182,8 @@ class TestingProfile : public Profile {
|
| virtual history::TopSites* GetTopSitesWithoutCreating();
|
| virtual DownloadManager* GetDownloadManager();
|
| virtual PersonalDataManager* GetPersonalDataManager();
|
| + void SetWebIntentsRegistry(WebIntentsRegistry* registry);
|
| + virtual WebIntentsRegistry* GetWebIntentsRegistry();
|
| virtual fileapi::FileSystemContext* GetFileSystemContext();
|
| virtual void SetQuotaManager(quota::QuotaManager* manager);
|
| virtual quota::QuotaManager* GetQuotaManager();
|
| @@ -332,6 +335,9 @@ class TestingProfile : public Profile {
|
| scoped_refptr<net::URLRequestContextGetter> request_context_;
|
| scoped_refptr<net::URLRequestContextGetter> extensions_request_context_;
|
|
|
| + // The WebIntentsRegistry, for the purpose of dependency injection.
|
| + scoped_refptr<WebIntentsRegistry> web_intents_registry_;
|
| +
|
| std::wstring id_;
|
|
|
| bool incognito_;
|
| @@ -340,7 +346,6 @@ class TestingProfile : public Profile {
|
| // Did the last session exit cleanly? Default is true.
|
| bool last_session_exited_cleanly_;
|
|
|
| -
|
| // FileSystemContext. Created lazily by GetFileSystemContext().
|
| scoped_refptr<fileapi::FileSystemContext> file_system_context_;
|
|
|
|
|