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

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

Issue 8503003: Seed test for SyncUI: sign in successfully with mocks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added comments and moved gaia login to test. Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options/personal_options.js
diff --git a/chrome/browser/resources/options/personal_options.js b/chrome/browser/resources/options/personal_options.js
index 80a16a324785c8513c448531cf18896fd82ab2a2..971e5823e864657ac30beb9efafdde87c828421f 100644
--- a/chrome/browser/resources/options/personal_options.js
+++ b/chrome/browser/resources/options/personal_options.js
@@ -7,10 +7,6 @@ cr.define('options', function() {
var OptionsPage = options.OptionsPage;
var ArrayDataModel = cr.ui.ArrayDataModel;
- // State variables.
- var syncEnabled = false;
- var syncSetupCompleted = false;
-
/**
* Encapsulated handling of personal options page.
* @constructor
@@ -31,6 +27,10 @@ cr.define('options', function() {
// Inherit PersonalOptions from OptionsPage.
__proto__: options.OptionsPage.prototype,
+ // State variables.
+ syncEnabled: false,
+ syncSetupCompleted: false,
+
// Initialize PersonalOptions page.
initializePage: function() {
// Call base class implementation to start preference initialization.
« no previous file with comments | « no previous file | chrome/browser/resources/sync_setup_overlay.js » ('j') | chrome/browser/resources/sync_setup_overlay.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698