| Index: chrome/browser/history/chrome_history_client_factory.cc
|
| diff --git a/chrome/browser/history/chrome_history_client_factory.cc b/chrome/browser/history/chrome_history_client_factory.cc
|
| index f612a18dd4b9735f978dec634d4ad2dc4154c27b..10c8618e91d43199f6dfdbdad3bdc4c4afafadbb 100644
|
| --- a/chrome/browser/history/chrome_history_client_factory.cc
|
| +++ b/chrome/browser/history/chrome_history_client_factory.cc
|
| @@ -19,6 +19,13 @@ ChromeHistoryClient* ChromeHistoryClientFactory::GetForProfile(
|
| }
|
|
|
| // static
|
| +ChromeHistoryClient* ChromeHistoryClientFactory::GetForProfileWithoutCreating(
|
| + Profile* profile) {
|
| + return static_cast<ChromeHistoryClient*>(
|
| + GetInstance()->GetServiceForBrowserContext(profile, false));
|
| +}
|
| +
|
| +// static
|
| ChromeHistoryClientFactory* ChromeHistoryClientFactory::GetInstance() {
|
| return Singleton<ChromeHistoryClientFactory>::get();
|
| }
|
|
|