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

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..bdbe85660e7e985dc64214a90685a826a4030bdf 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:
@@ -58,6 +59,8 @@ class SigninErrorHandler : public content::WebUIMessageHandler {
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