| Index: chrome/browser/chromeos/login/screen_locker_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/chromeos/login/screen_locker_browsertest.cc (revision 91771)
|
| +++ chrome/browser/chromeos/login/screen_locker_browsertest.cc (working copy)
|
| @@ -33,7 +33,7 @@
|
| : browser_(browser),
|
| running_(false) {
|
| registrar_.Add(this,
|
| - NotificationType::SCREEN_LOCK_STATE_CHANGED,
|
| + chrome::SCREEN_LOCK_STATE_CHANGED,
|
| NotificationService::AllSources());
|
| handler_id_ = g_signal_connect(
|
| G_OBJECT(browser_->window()->GetNativeHandle()),
|
| @@ -51,7 +51,7 @@
|
| virtual void Observe(NotificationType type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| - DCHECK(type == NotificationType::SCREEN_LOCK_STATE_CHANGED);
|
| + DCHECK(type == chrome::SCREEN_LOCK_STATE_CHANGED);
|
| if (running_)
|
| MessageLoop::current()->Quit();
|
| }
|
| @@ -117,7 +117,7 @@
|
| tester->EmulateWindowManagerReady();
|
| if (!chromeos::ScreenLocker::GetTester()->IsLocked())
|
| ui_test_utils::WaitForNotification(
|
| - NotificationType::SCREEN_LOCK_STATE_CHANGED);
|
| + chrome::SCREEN_LOCK_STATE_CHANGED);
|
| EXPECT_TRUE(tester->IsLocked());
|
| tester->InjectMockAuthenticator("", "");
|
|
|
| @@ -139,7 +139,7 @@
|
| tester->EmulateWindowManagerReady();
|
| if (!tester->IsLocked()) {
|
| ui_test_utils::WaitForNotification(
|
| - NotificationType::SCREEN_LOCK_STATE_CHANGED);
|
| + chrome::SCREEN_LOCK_STATE_CHANGED);
|
| }
|
| EXPECT_TRUE(tester->IsLocked());
|
| }
|
| @@ -184,7 +184,7 @@
|
| tester->EmulateWindowManagerReady();
|
| if (!chromeos::ScreenLocker::GetTester()->IsLocked())
|
| ui_test_utils::WaitForNotification(
|
| - NotificationType::SCREEN_LOCK_STATE_CHANGED);
|
| + chrome::SCREEN_LOCK_STATE_CHANGED);
|
|
|
| // Test to make sure that the widget is actually appearing and is of
|
| // reasonable size, preventing a regression of
|
|
|