Index: chrome/browser/resources/options/preferences.js |
diff --git a/chrome/browser/resources/options/preferences.js b/chrome/browser/resources/options/preferences.js |
index c7ea93d37ea9cc257489a6092805014377743608..cfb7f22b0d5347bc18e541145f852f3ccf407b42 100644 |
--- a/chrome/browser/resources/options/preferences.js |
+++ b/chrome/browser/resources/options/preferences.js |
@@ -33,7 +33,8 @@ cr.define('options', function() { |
} |
var argumentList = [name, Boolean(value)]; |
- if (opt_metric != undefined) argumentList.push(opt_metric); |
+ if (opt_metric != undefined) |
+ argumentList.push(opt_metric); |
chrome.send('setBooleanPref', argumentList); |
}; |
@@ -51,7 +52,8 @@ cr.define('options', function() { |
} |
var argumentList = [name, Number(value)]; |
- if (metric != undefined) argumentList.push(metric); |
+ if (metric != undefined) |
+ argumentList.push(metric); |
chrome.send('setIntegerPref', argumentList); |
}; |
@@ -69,7 +71,8 @@ cr.define('options', function() { |
} |
var argumentList = [name, Number(value)]; |
- if (metric != undefined) argumentList.push(metric); |
+ if (metric != undefined) |
+ argumentList.push(metric); |
chrome.send('setDoublePref', argumentList); |
}; |
@@ -87,7 +90,8 @@ cr.define('options', function() { |
} |
var argumentList = [name, String(value)]; |
- if (metric != undefined) argumentList.push(metric); |
+ if (metric != undefined) |
+ argumentList.push(metric); |
chrome.send('setStringPref', argumentList); |
}; |
@@ -106,7 +110,8 @@ cr.define('options', function() { |
} |
var argumentList = [name, String(value)]; |
- if (metric != undefined) argumentList.push(metric); |
+ if (metric != undefined) |
+ argumentList.push(metric); |
chrome.send('setURLPref', argumentList); |
}; |
@@ -124,7 +129,8 @@ cr.define('options', function() { |
} |
var argumentList = [name, JSON.stringify(value)]; |
- if (metric != undefined) argumentList.push(metric); |
+ if (metric != undefined) |
+ argumentList.push(metric); |
chrome.send('setListPref', argumentList); |
}; |
@@ -142,7 +148,8 @@ cr.define('options', function() { |
} |
var argumentList = [name]; |
- if (opt_metric != undefined) argumentList.push(opt_metric); |
+ if (opt_metric != undefined) |
+ argumentList.push(opt_metric); |
chrome.send('clearPref', argumentList); |
}; |
@@ -331,8 +338,6 @@ cr.define('options', function() { |
}; |
// Export |
- return { |
- Preferences: Preferences |
- }; |
+ return {Preferences: Preferences}; |
}); |