Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 5c423d265c71f49541e8348ec3f70270819a3be9..e9eda9dd9ef8780051907cd0dc68796f932848b6 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -28,6 +28,7 @@ |
#include "chrome/browser/favicon/favicon_service_factory.h" |
#include "chrome/browser/geolocation/chrome_geolocation_permission_context.h" |
#include "chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h" |
+#include "chrome/browser/guest_view/guest_view_manager.h" |
#include "chrome/browser/history/history_backend.h" |
#include "chrome/browser/history/history_db_task.h" |
#include "chrome/browser/history/history_service.h" |
@@ -827,6 +828,11 @@ TestingProfile::GetGeolocationPermissionContext() { |
return ChromeGeolocationPermissionContextFactory::GetForProfile(this); |
} |
+content::BrowserPluginGuestManagerDelegate* |
+ TestingProfile::GetGuestManagerDelegate() { |
+ return GuestViewManager::FromBrowserContext(this); |
+} |
+ |
std::wstring TestingProfile::GetName() { |
return std::wstring(); |
} |