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

Side by Side Diff: chrome/browser/resources/options/sync_setup_overlay.js

Issue 2492293002: [MD Settings][Options] Fixes bugs with the sync status messages/actions (Closed)
Patch Set: Created 4 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 cr.exportPath('options'); 5 cr.exportPath('options');
6 6
7 /** @typedef {{appsEnforced: boolean, 7 /** @typedef {{appsEnforced: boolean,
8 * appsRegistered: boolean, 8 * appsRegistered: boolean,
9 * appsSynced: boolean, 9 * appsSynced: boolean,
10 * autofillEnforced: boolean, 10 * autofillEnforced: boolean,
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 */ 804 */
805 startSignIn_: function(creatingSupervisedUser) { 805 startSignIn_: function(creatingSupervisedUser) {
806 chrome.send('SyncSetupStartSignIn', [creatingSupervisedUser]); 806 chrome.send('SyncSetupStartSignIn', [creatingSupervisedUser]);
807 }, 807 },
808 808
809 /** 809 /**
810 * Forces user to sign out of Chrome for Chrome OS. 810 * Forces user to sign out of Chrome for Chrome OS.
811 * @private 811 * @private
812 */ 812 */
813 doSignOutOnAuthError_: function() { 813 doSignOutOnAuthError_: function() {
814 chrome.send('SyncSetupDoSignOutOnAuthError'); 814 chrome.send('AttemptUserExit');
815 }, 815 },
816 }; 816 };
817 817
818 // Forward public APIs to private implementations. 818 // Forward public APIs to private implementations.
819 cr.makePublic(SyncSetupOverlay, [ 819 cr.makePublic(SyncSetupOverlay, [
820 'closeOverlay', 820 'closeOverlay',
821 'showSetupUI', 821 'showSetupUI',
822 'startSignIn', 822 'startSignIn',
823 'doSignOutOnAuthError', 823 'doSignOutOnAuthError',
824 'showSyncSetupPage', 824 'showSyncSetupPage',
825 'showCustomizePage', 825 'showCustomizePage',
826 'showStopSyncingUI', 826 'showStopSyncingUI',
827 ]); 827 ]);
828 828
829 // Export 829 // Export
830 return { 830 return {
831 SyncSetupOverlay: SyncSetupOverlay 831 SyncSetupOverlay: SyncSetupOverlay
832 }; 832 };
833 }); 833 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/sync/sync_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698