Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5417)

Unified Diff: chrome/browser/content_settings/permission_queue_controller_unittest.cc

Issue 812823002: Remove dependency of infobars component on the embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests by instanciating a TestConfirmInfoBarDelegateFactory Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/content_settings/permission_queue_controller_unittest.cc
diff --git a/chrome/browser/content_settings/permission_queue_controller_unittest.cc b/chrome/browser/content_settings/permission_queue_controller_unittest.cc
index d21cd9b2f765d6a39ee01b6fa853c2e0813309e4..fb2db995edc19baee497503483fb027e958e58d8 100644
--- a/chrome/browser/content_settings/permission_queue_controller_unittest.cc
+++ b/chrome/browser/content_settings/permission_queue_controller_unittest.cc
@@ -11,6 +11,7 @@
#include "chrome/test/base/testing_profile.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/content_settings/core/common/permission_request_id.h"
+#include "components/infobars/test/test_confirm_infobar_delegate_factory.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/mock_render_process_host.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -38,6 +39,8 @@ class PermissionQueueControllerTests : public ChromeRenderViewHostTestHarness {
InfoBarService::CreateForWebContents(web_contents());
}
+ TestConfirmInfoBarDelegateFactory confirm_info_bar_delegate_factory_;
+
DISALLOW_COPY_AND_ASSIGN(PermissionQueueControllerTests);
};

Powered by Google App Engine
This is Rietveld 408576698