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

Side by Side Diff: chrome/browser/ui/webui/settings/people_handler.h

Issue 2591093002: [MD Settings][People] Force sign out only in the case of unrecoverable error (Closed)
Patch Set: Fixed compilation error Created 3 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_SETTINGS_PEOPLE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 static const char kSpinnerPageStatus[]; 53 static const char kSpinnerPageStatus[];
54 static const char kConfigurePageStatus[]; 54 static const char kConfigurePageStatus[];
55 static const char kTimeoutPageStatus[]; 55 static const char kTimeoutPageStatus[];
56 static const char kDonePageStatus[]; 56 static const char kDonePageStatus[];
57 static const char kPassphraseFailedPageStatus[]; 57 static const char kPassphraseFailedPageStatus[];
58 58
59 explicit PeopleHandler(Profile* profile); 59 explicit PeopleHandler(Profile* profile);
60 ~PeopleHandler() override; 60 ~PeopleHandler() override;
61 61
62 // Initializes the sync setup flow and shows the setup UI. 62 // Initializes the sync setup flow and shows the setup UI.
63 void OpenSyncSetup(bool creating_supervised_user); 63 void OpenSyncSetup();
64 64
65 // Terminates the sync setup flow. 65 // Terminates the sync setup flow.
66 void CloseSyncSetup(); 66 void CloseSyncSetup();
67 67
68 protected: 68 protected:
69 bool is_configuring_sync() const { return configuring_sync_; } 69 bool is_configuring_sync() const { return configuring_sync_; }
70 70
71 private: 71 private:
72 friend class PeopleHandlerTest; 72 friend class PeopleHandlerTest;
73 FRIEND_TEST_ALL_PREFIXES(PeopleHandlerTest, 73 FRIEND_TEST_ALL_PREFIXES(PeopleHandlerTest,
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 ScopedObserver<SigninManagerBase, PeopleHandler> signin_observer_; 200 ScopedObserver<SigninManagerBase, PeopleHandler> signin_observer_;
201 ScopedObserver<browser_sync::ProfileSyncService, PeopleHandler> 201 ScopedObserver<browser_sync::ProfileSyncService, PeopleHandler>
202 sync_service_observer_; 202 sync_service_observer_;
203 203
204 DISALLOW_COPY_AND_ASSIGN(PeopleHandler); 204 DISALLOW_COPY_AND_ASSIGN(PeopleHandler);
205 }; 205 };
206 206
207 } // namespace settings 207 } // namespace settings
208 208
209 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_ 209 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/sync_setup_handler.cc ('k') | chrome/browser/ui/webui/settings/people_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698