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

Side by Side Diff: components/data_reduction_proxy/content/browser/content_lofi_decider_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/content/browser/content_lofi_decider.h " 5 #include "components/data_reduction_proxy/content/browser/content_lofi_decider.h "
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 10
9 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
11 #include "base/metrics/field_trial.h" 14 #include "base/metrics/field_trial.h"
12 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "build/build_config.h"
13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig_test_utils.h" 17 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig_test_utils.h"
14 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw ork_delegate.h" 18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw ork_delegate.h"
15 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test _utils.h" 19 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test _utils.h"
16 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade rs.h" 20 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade rs.h"
17 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h" 21 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h"
18 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s_test_utils.h" 22 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s_test_utils.h"
19 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc hes.h" 23 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_switc hes.h"
20 #include "content/public/browser/resource_request_info.h" 24 #include "content/public/browser/resource_request_info.h"
21 #include "net/base/load_flags.h" 25 #include "net/base/load_flags.h"
22 #include "net/base/network_delegate_impl.h" 26 #include "net/base/network_delegate_impl.h"
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 scoped_ptr<net::URLRequest> request = 388 scoped_ptr<net::URLRequest> request =
385 CreateRequest(tests[i].network_prohibitively_slow); 389 CreateRequest(tests[i].network_prohibitively_slow);
386 net::HttpRequestHeaders headers; 390 net::HttpRequestHeaders headers;
387 NotifyBeforeSendProxyHeaders(&headers, request.get()); 391 NotifyBeforeSendProxyHeaders(&headers, request.get());
388 392
389 VerifyLoFiHeader(expect_lofi_header, headers); 393 VerifyLoFiHeader(expect_lofi_header, headers);
390 } 394 }
391 } 395 }
392 396
393 } // namespace data_reduction_roxy 397 } // namespace data_reduction_roxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698