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

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

Issue 878253002: LocalizedValuesBuilder moved to components/login. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed dependency on 'base'. Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_UI_WEBUI_CHROMEOS_LOGIN_TERMS_OF_SERVICE_SCREEN_HANDLER_H _ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_TERMS_OF_SERVICE_SCREEN_HANDLER_H _
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_TERMS_OF_SERVICE_SCREEN_HANDLER_H _ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_TERMS_OF_SERVICE_SCREEN_HANDLER_H _
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 10 matching lines...) Expand all
21 class TermsOfServiceScreenHandler : public BaseScreenHandler, 21 class TermsOfServiceScreenHandler : public BaseScreenHandler,
22 public TermsOfServiceScreenActor { 22 public TermsOfServiceScreenActor {
23 public: 23 public:
24 explicit TermsOfServiceScreenHandler(CoreOobeActor* core_oobe_actor); 24 explicit TermsOfServiceScreenHandler(CoreOobeActor* core_oobe_actor);
25 ~TermsOfServiceScreenHandler() override; 25 ~TermsOfServiceScreenHandler() override;
26 26
27 // content::WebUIMessageHandler: 27 // content::WebUIMessageHandler:
28 void RegisterMessages() override; 28 void RegisterMessages() override;
29 29
30 // BaseScreenHandler: 30 // BaseScreenHandler:
31 void DeclareLocalizedValues(LocalizedValuesBuilder* builder) override; 31 void DeclareLocalizedValues(
32 ::login::LocalizedValuesBuilder* builder) override;
32 33
33 // TermsOfServiceScreenActor: 34 // TermsOfServiceScreenActor:
34 void SetDelegate(Delegate* screen) override; 35 void SetDelegate(Delegate* screen) override;
35 void Show() override; 36 void Show() override;
36 void Hide() override; 37 void Hide() override;
37 void SetDomain(const std::string& domain) override; 38 void SetDomain(const std::string& domain) override;
38 void OnLoadError() override; 39 void OnLoadError() override;
39 void OnLoadSuccess(const std::string& terms_of_service) override; 40 void OnLoadSuccess(const std::string& terms_of_service) override;
40 41
41 private: 42 private:
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 83
83 // Set to the Terms of Service when the download is successful. 84 // Set to the Terms of Service when the download is successful.
84 std::string terms_of_service_; 85 std::string terms_of_service_;
85 86
86 DISALLOW_COPY_AND_ASSIGN(TermsOfServiceScreenHandler); 87 DISALLOW_COPY_AND_ASSIGN(TermsOfServiceScreenHandler);
87 }; 88 };
88 89
89 } // namespace chromeos 90 } // namespace chromeos
90 91
91 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_TERMS_OF_SERVICE_SCREEN_HANDLE R_H_ 92 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_TERMS_OF_SERVICE_SCREEN_HANDLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698