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

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

Issue 572113002: Fix sync settings metric (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /** 7 /**
8 * The user's selection in the synced data type drop-down menu, as an index. 8 * The user's selection in the synced data type drop-down menu, as an index.
9 * @enum {number} 9 * @enum {number}
10 * @const 10 * @const
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 $('stop-syncing-cancel').focus(); 757 $('stop-syncing-cancel').focus();
758 }, 758 },
759 759
760 /** 760 /**
761 * Determines the appropriate page to show in the Sync Setup UI based on 761 * Determines the appropriate page to show in the Sync Setup UI based on
762 * the state of the Sync backend. Does nothing if the user is not signed in. 762 * the state of the Sync backend. Does nothing if the user is not signed in.
763 * @private 763 * @private
764 */ 764 */
765 showSetupUI_: function() { 765 showSetupUI_: function() {
766 chrome.send('SyncSetupShowSetupUI'); 766 chrome.send('SyncSetupShowSetupUI');
767 chrome.send('coreOptionsUserMetricsAction', ['Options_SyncShowAdvanced']); 767 chrome.send('coreOptionsUserMetricsAction', ['Options_ShowSyncAdvanced']);
768 }, 768 },
769 769
770 /** 770 /**
771 * Starts the signin process for the user. Does nothing if the user is 771 * Starts the signin process for the user. Does nothing if the user is
772 * already signed in. 772 * already signed in.
773 * @private 773 * @private
774 */ 774 */
775 startSignIn_: function() { 775 startSignIn_: function() {
776 chrome.send('SyncSetupStartSignIn'); 776 chrome.send('SyncSetupStartSignIn');
777 }, 777 },
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 816
817 SyncSetupOverlay.showStopSyncingUI = function() { 817 SyncSetupOverlay.showStopSyncingUI = function() {
818 SyncSetupOverlay.getInstance().showStopSyncingUI_(); 818 SyncSetupOverlay.getInstance().showStopSyncingUI_();
819 }; 819 };
820 820
821 // Export 821 // Export
822 return { 822 return {
823 SyncSetupOverlay: SyncSetupOverlay 823 SyncSetupOverlay: SyncSetupOverlay
824 }; 824 };
825 }); 825 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698