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

Side by Side Diff: chrome/browser/chromeos/login/screens/host_pairing_screen.h

Issue 679133002: ScreenObserver is renamed to BaseScreenDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes. Created 6 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SCREENS_HOST_PAIRING_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/chromeos/login/screens/base_screen.h" 9 #include "chrome/browser/chromeos/login/screens/base_screen.h"
10 #include "chrome/browser/chromeos/login/screens/host_pairing_screen_actor.h" 10 #include "chrome/browser/chromeos/login/screens/host_pairing_screen_actor.h"
(...skipping 10 matching lines...) Expand all
21 class Delegate { 21 class Delegate {
22 public: 22 public:
23 virtual ~Delegate() {} 23 virtual ~Delegate() {}
24 virtual void ConfigureHost(bool accepted_eula, 24 virtual void ConfigureHost(bool accepted_eula,
25 const std::string& lang, 25 const std::string& lang,
26 const std::string& timezone, 26 const std::string& timezone,
27 bool send_reports, 27 bool send_reports,
28 const std::string& keyboard_layout) = 0; 28 const std::string& keyboard_layout) = 0;
29 }; 29 };
30 30
31 HostPairingScreen(ScreenObserver* observer, HostPairingScreenActor* actor, 31 HostPairingScreen(BaseScreenDelegate* base_screen_delegate,
32 HostPairingScreenActor* actor,
32 pairing_chromeos::HostPairingController* remora_controller); 33 pairing_chromeos::HostPairingController* remora_controller);
33 virtual ~HostPairingScreen(); 34 virtual ~HostPairingScreen();
34 35
35 void SetDelegate(Delegate* delegate); 36 void SetDelegate(Delegate* delegate);
36 37
37 private: 38 private:
38 typedef pairing_chromeos::HostPairingController::Stage Stage; 39 typedef pairing_chromeos::HostPairingController::Stage Stage;
39 40
40 void CommitContextChanges(); 41 void CommitContextChanges();
41 42
(...skipping 28 matching lines...) Expand all
70 71
71 // Current stage of pairing process. 72 // Current stage of pairing process.
72 Stage current_stage_; 73 Stage current_stage_;
73 74
74 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen); 75 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen);
75 }; 76 };
76 77
77 } // namespace chromeos 78 } // namespace chromeos
78 79
79 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ 80 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698