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

Issue 2552623004: Remove redundant methods for reloading DataReductionProxyConfig (Closed)

Created:
4 years ago by tbansal1
Modified:
4 years ago
Reviewers:
RyanSturm
CC:
chromium-reviews, tbansal+watch-data-reduction-proxy_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove redundant methods for reloading DataReductionProxyConfig Currently, there are two ways of updating the configurator in DataReductionProxyConfig: UpdateConfigurator() and ReloadConfig(). This CL combines them into a single method. Methods that are only exposed for testing are suffixed with ForTesting() to remove confusion. Also, remove some other unreachable code, and a test which is duplicate of other test. BUG=476386 Committed: https://crrev.com/f4102ab21954dc43a7ea34797c3e588c919cac2b Cr-Commit-Position: refs/heads/master@{#436650}

Patch Set 1 #

Total comments: 1

Messages

Total messages: 19 (14 generated)
tbansal1
ryansturm: ptal. Thanks. https://codereview.chromium.org/2552623004/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc (left): https://codereview.chromium.org/2552623004/diff/1/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc#oldcode198 components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc:198: TEST_F(DataReductionProxyConfigTest, TestUpdateConfigurator) { Removed this test ...
4 years ago (2016-12-06 17:22:44 UTC) #10
RyanSturm
lgtm
4 years ago (2016-12-06 18:03:57 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2552623004/1
4 years ago (2016-12-06 18:09:05 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-06 18:18:16 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-06 18:20:40 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f4102ab21954dc43a7ea34797c3e588c919cac2b
Cr-Commit-Position: refs/heads/master@{#436650}

Powered by Google App Engine
This is Rietveld 408576698