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

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

Issue 1608103002: Settings Rewrite: Fix Opening Sync User login (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 // sync_driver::SyncServiceObserver implementation. 66 // sync_driver::SyncServiceObserver implementation.
67 void OnStateChanged() override; 67 void OnStateChanged() override;
68 68
69 // ProfileInfoCacheObserver implementation. 69 // ProfileInfoCacheObserver implementation.
70 void OnProfileNameChanged(const base::FilePath& profile_path, 70 void OnProfileNameChanged(const base::FilePath& profile_path,
71 const base::string16& old_profile_name) override; 71 const base::string16& old_profile_name) override;
72 void OnProfileAvatarChanged(const base::FilePath& profile_path) override; 72 void OnProfileAvatarChanged(const base::FilePath& profile_path) override;
73 73
74 // Initializes the sync setup flow and shows the setup UI. 74 // Initializes the sync setup flow and shows the setup UI.
75 void OpenSyncSetup(const base::ListValue* args); 75 void OpenSyncSetup(bool creating_supervised_user);
76 76
77 // Shows advanced configuration dialog without going through sign in dialog. 77 // Shows advanced configuration dialog without going through sign in dialog.
78 // Kicks the sync backend if necessary with showing spinner dialog until it 78 // Kicks the sync backend if necessary with showing spinner dialog until it
79 // gets ready. 79 // gets ready.
80 void OpenConfigureSync(); 80 void OpenConfigureSync();
81 81
82 // Terminates the sync setup flow. 82 // Terminates the sync setup flow.
83 void CloseSyncSetup(); 83 void CloseSyncSetup();
84 84
85 // Returns a newly created dictionary with a number of properties that 85 // Returns a newly created dictionary with a number of properties that
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 200
201 // Manages observer lifetime. 201 // Manages observer lifetime.
202 ScopedObserver<ProfileSyncService, PeopleHandler> sync_service_observer_; 202 ScopedObserver<ProfileSyncService, PeopleHandler> 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_unittest.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