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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/eula_screen_handler.h

Issue 2856683002: cros: Replace "TPM" with "secure module" for machines without TPM. (Closed)
Patch Set: Use IO thread to check files. Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void GetAdditionalParameters(base::DictionaryValue* dict) override; 45 void GetAdditionalParameters(base::DictionaryValue* dict) override;
46 void Initialize() override; 46 void Initialize() override;
47 47
48 private: 48 private:
49 // JS messages handlers. 49 // JS messages handlers.
50 void HandleOnLearnMore(); 50 void HandleOnLearnMore();
51 void HandleOnChromeCredits(); 51 void HandleOnChromeCredits();
52 void HandleOnChromeOSCredits(); 52 void HandleOnChromeOSCredits();
53 void HandleOnInstallationSettingsPopupOpened(); 53 void HandleOnInstallationSettingsPopupOpened();
54 54
55 void UpdateLocalizedValues();
56
55 EulaScreen* screen_ = nullptr; 57 EulaScreen* screen_ = nullptr;
56 CoreOobeView* core_oobe_view_ = nullptr; 58 CoreOobeView* core_oobe_view_ = nullptr;
57 59
58 // Help application used for help dialogs. 60 // Help application used for help dialogs.
59 scoped_refptr<HelpAppLauncher> help_app_; 61 scoped_refptr<HelpAppLauncher> help_app_;
60 62
61 // Keeps whether screen should be shown right after initialization. 63 // Keeps whether screen should be shown right after initialization.
62 bool show_on_init_ = false; 64 bool show_on_init_ = false;
63 65
66 base::WeakPtrFactory<EulaScreenHandler> weak_factory_;
67
64 DISALLOW_COPY_AND_ASSIGN(EulaScreenHandler); 68 DISALLOW_COPY_AND_ASSIGN(EulaScreenHandler);
65 }; 69 };
66 70
67 } // namespace chromeos 71 } // namespace chromeos
68 72
69 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_ 73 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_EULA_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698