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

Side by Side Diff: chrome/browser/resources/settings/people_page/sync_browser_proxy.js

Issue 2825493003: MD Settings: change outlinks to actually use <a> (Closed)
Patch Set: merge Created 3 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 /** 5 /**
6 * @fileoverview A helper object used from the the People section to get the 6 * @fileoverview A helper object used from the the People section to get the
7 * status of the sync backend and user preferences on what data to sync. Used 7 * status of the sync backend and user preferences on what data to sync. Used
8 * for both Chrome browser and ChromeOS. 8 * for both Chrome browser and ChromeOS.
9 */ 9 */
10 cr.exportPath('settings'); 10 cr.exportPath('settings');
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 /** @override */ 225 /** @override */
226 setSyncEncryption: function(syncPrefs) { 226 setSyncEncryption: function(syncPrefs) {
227 return cr.sendWithPromise('SyncSetupSetEncryption', 227 return cr.sendWithPromise('SyncSetupSetEncryption',
228 JSON.stringify(syncPrefs)); 228 JSON.stringify(syncPrefs));
229 }, 229 },
230 230
231 /** @override */ 231 /** @override */
232 openActivityControlsUrl: function() { 232 openActivityControlsUrl: function() {
233 chrome.metricsPrivate.recordUserAction( 233 chrome.metricsPrivate.recordUserAction(
234 'Signin_AccountSettings_GoogleActivityControlsClicked'); 234 'Signin_AccountSettings_GoogleActivityControlsClicked');
235 window.open(loadTimeData.getString('activityControlsUrl'));
236 } 235 }
237 }; 236 };
238 237
239 return { 238 return {
240 SyncBrowserProxy: SyncBrowserProxy, 239 SyncBrowserProxy: SyncBrowserProxy,
241 SyncBrowserProxyImpl: SyncBrowserProxyImpl, 240 SyncBrowserProxyImpl: SyncBrowserProxyImpl,
242 }; 241 };
243 }); 242 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698