| Index: chrome/test/base/testing_profile.cc
|
| ===================================================================
|
| --- chrome/test/base/testing_profile.cc (revision 144929)
|
| +++ chrome/test/base/testing_profile.cc (working copy)
|
| @@ -26,6 +26,8 @@
|
| #include "chrome/browser/extensions/test_extension_system.h"
|
| #include "chrome/browser/favicon/favicon_service.h"
|
| #include "chrome/browser/geolocation/chrome_geolocation_permission_context.h"
|
| +#include "chrome/browser/history/shortcuts_backend.h"
|
| +#include "chrome/browser/history/shortcuts_backend_factory.h"
|
| #include "chrome/browser/history/history.h"
|
| #include "chrome/browser/history/history_backend.h"
|
| #include "chrome/browser/history/history_service_factory.h"
|
| @@ -505,7 +507,7 @@
|
| }
|
|
|
| history::ShortcutsBackend* TestingProfile::GetShortcutsBackend() {
|
| - return NULL;
|
| + return ShortcutsBackendFactory::GetForProfile(this).get();
|
| }
|
|
|
| void TestingProfile::SetPrefService(PrefService* prefs) {
|
|
|