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

Side by Side Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc

Issue 1084533002: Rename NetLogLogger and CapturingNetLog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename NetLogLogger and CapturingNetLog(removed compiler error for chromeOS) Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig.h" 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig_test_utils.h" 9 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig_test_utils.h"
10 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf igurator_test_utils.h" 10 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf igurator_test_utils.h"
11 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv ice.h" 11 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv ice.h"
12 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test _utils.h" 12 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test _utils.h"
13 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event _store.h" 13 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event _store.h"
14 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s_test_utils.h" 14 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s_test_utils.h"
15 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc hes.h" 15 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc hes.h"
16 #include "net/log/capturing_net_log.h" 16 #include "net/log/test_net_log.h"
17 #include "net/proxy/proxy_server.h" 17 #include "net/proxy/proxy_server.h"
18 #include "net/url_request/test_url_fetcher_factory.h" 18 #include "net/url_request/test_url_fetcher_factory.h"
19 #include "net/url_request/url_request_test_util.h" 19 #include "net/url_request/url_request_test_util.h"
20 20
21 using testing::_; 21 using testing::_;
22 using testing::AnyNumber; 22 using testing::AnyNumber;
23 using testing::Return; 23 using testing::Return;
24 24
25 namespace { 25 namespace {
26 26
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 base::TimeDelta min_retry_delay; 758 base::TimeDelta min_retry_delay;
759 was_bypassed = config->AreProxiesBypassed(retry_map, 759 was_bypassed = config->AreProxiesBypassed(retry_map,
760 rules, 760 rules,
761 false, 761 false,
762 &min_retry_delay); 762 &min_retry_delay);
763 EXPECT_TRUE(was_bypassed); 763 EXPECT_TRUE(was_bypassed);
764 EXPECT_EQ(delay, min_retry_delay); 764 EXPECT_EQ(delay, min_retry_delay);
765 } 765 }
766 766
767 } // namespace data_reduction_proxy 767 } // namespace data_reduction_proxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698