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

Unified Diff: chrome/browser/ui/webui/signin/signin_error_handler.h

Issue 2351173004: Display local signin error without browser and record the path of selected profile in user manager. (Closed)
Patch Set: cr Created 4 years, 3 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/signin/signin_error_handler.h
diff --git a/chrome/browser/ui/webui/signin/signin_error_handler.h b/chrome/browser/ui/webui/signin/signin_error_handler.h
index 3de30be7ce9488441f4df941514f1385e73c186f..563f08cc93fa98d9cd5d5d15ab6e2029653754c5 100644
--- a/chrome/browser/ui/webui/signin/signin_error_handler.h
+++ b/chrome/browser/ui/webui/signin/signin_error_handler.h
@@ -19,7 +19,8 @@ class ListValue;
class SigninErrorHandler : public content::WebUIMessageHandler {
public:
- SigninErrorHandler() {}
+ explicit SigninErrorHandler(bool is_system_profile);
+
~SigninErrorHandler() override {}
// content::WebUIMessageHandler:
@@ -53,11 +54,13 @@ class SigninErrorHandler : public content::WebUIMessageHandler {
// a single integer value for the height the native view should resize to.
virtual void HandleInitializedWithSize(const base::ListValue* args);
- void CloseDialog();
+ virtual void CloseDialog();
tommycli 2016/09/21 21:26:16 nit: no need for virtual anymore.
zmin 2016/09/21 21:52:05 Done.
private:
const ProfileAttributesEntry* duplicate_profile_entry_ = nullptr;
+ bool is_system_profile_;
+
DISALLOW_COPY_AND_ASSIGN(SigninErrorHandler);
};

Powered by Google App Engine
This is Rietveld 408576698