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

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

Issue 2603283003: [MD Settings][People] Force sign out only in the case of unrecoverable error (Closed)
Patch Set: Created 3 years, 11 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 static const char kSpinnerPageStatus[]; 54 static const char kSpinnerPageStatus[];
55 static const char kConfigurePageStatus[]; 55 static const char kConfigurePageStatus[];
56 static const char kTimeoutPageStatus[]; 56 static const char kTimeoutPageStatus[];
57 static const char kDonePageStatus[]; 57 static const char kDonePageStatus[];
58 static const char kPassphraseFailedPageStatus[]; 58 static const char kPassphraseFailedPageStatus[];
59 59
60 explicit PeopleHandler(Profile* profile); 60 explicit PeopleHandler(Profile* profile);
61 ~PeopleHandler() override; 61 ~PeopleHandler() override;
62 62
63 // Initializes the sync setup flow and shows the setup UI. 63 // Initializes the sync setup flow and shows the setup UI.
64 void OpenSyncSetup(bool creating_supervised_user); 64 void OpenSyncSetup();
65 65
66 // Terminates the sync setup flow. 66 // Terminates the sync setup flow.
67 void CloseSyncSetup(); 67 void CloseSyncSetup();
68 68
69 protected: 69 protected:
70 bool is_configuring_sync() const { return configuring_sync_; } 70 bool is_configuring_sync() const { return configuring_sync_; }
71 71
72 private: 72 private:
73 friend class PeopleHandlerTest; 73 friend class PeopleHandlerTest;
74 FRIEND_TEST_ALL_PREFIXES(PeopleHandlerTest, 74 FRIEND_TEST_ALL_PREFIXES(PeopleHandlerTest,
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 ScopedObserver<SigninManagerBase, PeopleHandler> signin_observer_; 201 ScopedObserver<SigninManagerBase, PeopleHandler> signin_observer_;
202 ScopedObserver<browser_sync::ProfileSyncService, PeopleHandler> 202 ScopedObserver<browser_sync::ProfileSyncService, PeopleHandler>
203 sync_service_observer_; 203 sync_service_observer_;
204 204
205 DISALLOW_COPY_AND_ASSIGN(PeopleHandler); 205 DISALLOW_COPY_AND_ASSIGN(PeopleHandler);
206 }; 206 };
207 207
208 } // namespace settings 208 } // namespace settings
209 209
210 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_PEOPLE_HANDLER_H_ 210 #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