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

Unified Diff: chrome/browser/ui/panels/test_panel_active_state_observer.cc

Issue 10807047: Create content\public\test\test_utils.h to hold common test classes that are used by unit and brows… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 months 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/ui/panels/test_panel_active_state_observer.cc
===================================================================
--- chrome/browser/ui/panels/test_panel_active_state_observer.cc (revision 147577)
+++ chrome/browser/ui/panels/test_panel_active_state_observer.cc (working copy)
@@ -6,6 +6,9 @@
#include "chrome/browser/ui/panels/panel.h"
#include "chrome/common/chrome_notification_types.h"
+#include "content/public/browser/notification_source.h"
+#include "content/public/test/test_utils.h"
+#include "testing/gtest/include/gtest/gtest.h"
PanelActiveStateObserver::PanelActiveStateObserver(
Panel* panel,
@@ -25,7 +28,7 @@
return;
running_ = true;
- message_loop_runner_ = new ui_test_utils::MessageLoopRunner;
+ message_loop_runner_ = new content::MessageLoopRunner;
message_loop_runner_->Run();
EXPECT_TRUE(seen_);
}
« no previous file with comments | « chrome/browser/ui/panels/test_panel_active_state_observer.h ('k') | chrome/browser/ui/pdf/pdf_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698