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

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

Issue 344963003: Revert of Flag covering Rollback removed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
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_RESET_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_RESET_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_RESET_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_RESET_SCREEN_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 static void RegisterPrefs(PrefRegistrySimple* registry); 49 static void RegisterPrefs(PrefRegistrySimple* registry);
50 50
51 private: 51 private:
52 // JS messages handlers. 52 // JS messages handlers.
53 void HandleOnCancel(); 53 void HandleOnCancel();
54 void HandleOnRestart(bool should_rollback); 54 void HandleOnRestart(bool should_rollback);
55 void HandleOnPowerwash(bool rollback_checked); 55 void HandleOnPowerwash(bool rollback_checked);
56 void HandleOnLearnMore(); 56 void HandleOnLearnMore();
57 57
58 void ChooseAndApplyShowScenario(); 58 void ChooseAndApplyShowScenario();
59 void OnRollbackFlagFileCheckDone(scoped_ptr<bool> file_exists);
59 void ShowWithParams(); 60 void ShowWithParams();
60 61
61 Delegate* delegate_; 62 Delegate* delegate_;
62 63
63 // Help application used for help dialogs. 64 // Help application used for help dialogs.
64 scoped_refptr<HelpAppLauncher> help_app_; 65 scoped_refptr<HelpAppLauncher> help_app_;
65 66
66 // Keeps whether screen should be shown right after initialization. 67 // Keeps whether screen should be shown right after initialization.
67 bool show_on_init_; 68 bool show_on_init_;
68 69
(...skipping 12 matching lines...) Expand all
81 bool preparing_for_rollback_; 82 bool preparing_for_rollback_;
82 83
83 base::WeakPtrFactory<ResetScreenHandler> weak_ptr_factory_; 84 base::WeakPtrFactory<ResetScreenHandler> weak_ptr_factory_;
84 85
85 DISALLOW_COPY_AND_ASSIGN(ResetScreenHandler); 86 DISALLOW_COPY_AND_ASSIGN(ResetScreenHandler);
86 }; 87 };
87 88
88 } // namespace chromeos 89 } // namespace chromeos
89 90
90 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_RESET_SCREEN_HANDLER_H_ 91 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_RESET_SCREEN_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/reset_browsertest.cc ('k') | chrome/browser/ui/webui/chromeos/login/reset_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698