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

Unified Diff: chrome/browser/sync/sync_error_notifier_ash_unittest.cc

Issue 280863002: Reduce creation of ViewsDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add widget includes for undef CreateWindow Created 6 years, 7 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/sync/sync_error_notifier_ash_unittest.cc
diff --git a/chrome/browser/sync/sync_error_notifier_ash_unittest.cc b/chrome/browser/sync/sync_error_notifier_ash_unittest.cc
index 4f5bb65d19f6f68a13296836fc2fb8549cd4596d..ebcdf29c3b8feaaae92424d1b8271dba6c44b2b0 100644
--- a/chrome/browser/sync/sync_error_notifier_ash_unittest.cc
+++ b/chrome/browser/sync/sync_error_notifier_ash_unittest.cc
@@ -11,7 +11,6 @@
#include "chrome/browser/notifications/notification_ui_manager.h"
#include "chrome/browser/sync/profile_sync_service_mock.h"
#include "chrome/browser/sync/sync_error_controller.h"
-#include "chrome/browser/ui/ash/test_views_delegate_with_parent.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/webui/signin/login_ui_service.h"
#include "chrome/browser/ui/webui/signin/login_ui_service_factory.h"
@@ -98,8 +97,6 @@ class SyncErrorNotifierTest : public AshTestBase {
virtual ~SyncErrorNotifierTest() {}
virtual void SetUp() OVERRIDE {
- views::ViewsDelegate::views_delegate = &views_delegate_;
-
profile_manager_.reset(
new TestingProfileManager(TestingBrowserProcess::GetGlobal()));
ASSERT_TRUE(profile_manager_->SetUp());
@@ -175,7 +172,6 @@ class SyncErrorNotifierTest : public AshTestBase {
TestingProfile* profile_;
FakeLoginUI login_ui_;
NotificationUIManager* notification_ui_manager_;
- TestViewsDelegateWithParent views_delegate_;
DISALLOW_COPY_AND_ASSIGN(SyncErrorNotifierTest);
};

Powered by Google App Engine
This is Rietveld 408576698