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

Unified Diff: chrome/browser/resources/options/managed_user_settings.js

Issue 12208068: Add a set passphrase dialog for managed user accounts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix year in new files. Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options/managed_user_settings.js
diff --git a/chrome/browser/resources/options/managed_user_settings.js b/chrome/browser/resources/options/managed_user_settings.js
index 1151e9f631dc6b5d6b9588cd4c93a714e6cf29ca..9fb76aaf15bc26d552bb4bf5febc308dfa5151a1 100644
--- a/chrome/browser/resources/options/managed_user_settings.js
+++ b/chrome/browser/resources/options/managed_user_settings.js
@@ -47,14 +47,21 @@ cr.define('options', function() {
};
$('set-passphrase').onclick = function() {
- // TODO(bauerb): Set passphrase
+ OptionsPage.navigateToPage('setPassphrase');
};
},
};
+ var ManagedUserSettingsForTesting = {
+ getSetPassphraseButton: function() {
+ return $('set-passphrase');
+ }
+ };
+
// Export
return {
- ManagedUserSettings: ManagedUserSettings
+ ManagedUserSettings: ManagedUserSettings,
+ ManagedUserSettingsForTesting: ManagedUserSettingsForTesting
};
});

Powered by Google App Engine
This is Rietveld 408576698