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

Unified Diff: chrome/browser/ui/webui/chromeos/login/terms_of_service_screen_handler.h

Issue 2701023003: cros: Move call js prefix out of ctor. (Closed)
Patch Set: Created 3 years, 10 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/ui/webui/chromeos/login/terms_of_service_screen_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/terms_of_service_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/terms_of_service_screen_handler.h
index adf55e376f1a90ef9384ab1127ea16456d4c6535..88d1b47e4ea047f7b8eac67611e04adbe73b01f6 100644
--- a/chrome/browser/ui/webui/chromeos/login/terms_of_service_screen_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/terms_of_service_screen_handler.h
@@ -68,18 +68,18 @@ class TermsOfServiceScreenHandler : public BaseScreenHandler,
// and continue" button.
void HandleAccept();
- TermsOfServiceScreenHandler::Delegate* screen_;
+ TermsOfServiceScreenHandler::Delegate* screen_ = nullptr;
- CoreOobeActor* core_oobe_actor_;
+ CoreOobeActor* core_oobe_actor_ = nullptr;
// Whether the screen should be shown right after initialization.
- bool show_on_init_;
+ bool show_on_init_ = false;
// The domain name whose Terms of Service are being shown.
std::string domain_;
// Set to |true| when the download of the Terms of Service fails.
- bool load_error_;
+ bool load_error_ = false;
// Set to the Terms of Service when the download is successful.
std::string terms_of_service_;

Powered by Google App Engine
This is Rietveld 408576698