Background mode: delete redundant calls to Enable/Disable.
commit18c38c1699d8e00c3c3b8a94fe0f8b7f0928e3d1
authormvanouwerkerk <mvanouwerkerk@chromium.org>
Tue, 15 Sep 2015 14:56:04 +0000 (15 07:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 15 Sep 2015 14:56:36 +0000 (15 14:56 +0000)
treed210ab0f8eedc84c6440652a9a03053d87ac7783
parent262700e6bbb78cc2348b5ed86326de9bfaeded21
Background mode: delete redundant calls to Enable/Disable.

After SetEnabled it is redundant to called EnableBackgroundMode
or DisableBackgroundMode as that already happens indirectly via
OnBackgroundModeEnabledPrefChange.

BUG=402456

Review URL: https://codereview.chromium.org/1315113005

Cr-Commit-Position: refs/heads/master@{#348887}
chrome/browser/background/background_mode_manager_unittest.cc