| Index: chrome/browser/component_updater/component_updater_configurator.cc
|
| diff --git a/chrome/browser/component_updater/component_updater_configurator.cc b/chrome/browser/component_updater/component_updater_configurator.cc
|
| index bc814f29097ec4f35d24d3c6253a4000e30cdb3a..948e682802aa4951e297d8f3c568c536e36512b4 100644
|
| --- a/chrome/browser/component_updater/component_updater_configurator.cc
|
| +++ b/chrome/browser/component_updater/component_updater_configurator.cc
|
| @@ -35,8 +35,6 @@ const char kSwitchFastUpdate[] = "fast-update";
|
| const char kSwitchOutOfProcess[] = "out-of-process";
|
| // Add "testrequest=1" parameter to the update check query.
|
| const char kSwitchRequestParam[] = "test-request";
|
| -// Disables differential updates.
|
| -const char kSwitchDisableDeltaUpdates[] = "disable-delta-updates";
|
| // Disables pings. Pings are the requests sent to the update server that report
|
| // the success or the failure of component install or update attempts.
|
| extern const char kSwitchDisablePings[] = "disable-pings";
|
| @@ -52,6 +50,11 @@ const char kDefaultUrlSource[] =
|
| // The url to send the pings to.
|
| const char kPingUrl[] = "http://tools.google.com/service/update2";
|
|
|
| +#if defined(OS_WIN)
|
| +// Disables differential updates.
|
| +const char kSwitchDisableDeltaUpdates[] = "disable-delta-updates";
|
| +#endif // defined(OS_WIN)
|
| +
|
| // Returns true if and only if |test| is contained in |vec|.
|
| bool HasSwitchValue(const std::vector<std::string>& vec, const char* test) {
|
| if (vec.empty())
|
|
|