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

Side by Side Diff: chrome/browser/chromeos/login/test/oobe_screen_waiter.h

Issue 2566443005: cros: Replace WizardController string constants with OobeScreen values. (Closed)
Patch Set: Address comments Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_SCREEN_WAITER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_SCREEN_WAITER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_SCREEN_WAITER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_SCREEN_WAITER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/chromeos/login/oobe_screen.h" 9 #include "chrome/browser/chromeos/login/oobe_screen.h"
10 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" 10 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h"
11 11
12 namespace content { 12 namespace content {
13 class MessageLoopRunner; 13 class MessageLoopRunner;
14 } 14 }
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 // A waiter that blocks until the expected oobe screen is reached. 18 // A waiter that blocks until the expected oobe screen is reached.
19 class OobeScreenWaiter : public OobeUI::Observer { 19 class OobeScreenWaiter : public OobeUI::Observer {
(...skipping 19 matching lines...) Expand all
39 bool waiting_for_screen_ = false; 39 bool waiting_for_screen_ = false;
40 OobeScreen expected_screen_ = OobeScreen::SCREEN_UNKNOWN; 40 OobeScreen expected_screen_ = OobeScreen::SCREEN_UNKNOWN;
41 scoped_refptr<content::MessageLoopRunner> runner_; 41 scoped_refptr<content::MessageLoopRunner> runner_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(OobeScreenWaiter); 43 DISALLOW_COPY_AND_ASSIGN(OobeScreenWaiter);
44 }; 44 };
45 45
46 } // namespace chromeos 46 } // namespace chromeos
47 47
48 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_SCREEN_WAITER_H_ 48 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_OOBE_SCREEN_WAITER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698