summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorsorin <sorin@chromium.org>2015-11-13 12:47:01 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-13 20:47:57 +0000
commit2d993608af3e766af8e8e941d60e4c0e2abe88cb (patch)
treeb41c0666f42fcd013605c722f909fc47a7f5ac68 /components
parent89d5cdfa35dad6711cc0177e3eaae75f5e08d83a (diff)
downloadchromium_src-2d993608af3e766af8e8e941d60e4c0e2abe88cb.zip
chromium_src-2d993608af3e766af8e8e941d60e4c0e2abe88cb.tar.gz
chromium_src-2d993608af3e766af8e8e941d60e4c0e2abe88cb.tar.bz2
Fix compile-time error: unused variable
'kSwitchDisableBackgroundDownloads' BUG=552028,82385 Review URL: https://codereview.chromium.org/1442123002 Cr-Commit-Position: refs/heads/master@{#359628}
Diffstat (limited to 'components')
-rw-r--r--components/component_updater/configurator_impl.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/component_updater/configurator_impl.cc b/components/component_updater/configurator_impl.cc
index ed7daf4..dea1da4 100644
--- a/components/component_updater/configurator_impl.cc
+++ b/components/component_updater/configurator_impl.cc
@@ -45,11 +45,6 @@ const char kSwitchUrlSource[] = "url-source";
// Disables differential updates.
const char kSwitchDisableDeltaUpdates[] = "disable-delta-updates";
-#if defined(OS_WIN)
-// Disables background downloads.
-const char kSwitchDisableBackgroundDownloads[] = "disable-background-downloads";
-#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())