OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_requ
est_options.h" | 5 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_requ
est_options.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/md5.h" | 13 #include "base/md5.h" |
| 14 #include "base/message_loop/message_loop.h" |
14 #include "base/metrics/field_trial.h" | 15 #include "base/metrics/field_trial.h" |
15 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
16 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
17 #include "base/time/time.h" | 18 #include "base/time/time.h" |
18 #include "build/build_config.h" | 19 #include "build/build_config.h" |
19 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_test_utils.h" | 20 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf
ig_test_utils.h" |
20 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test
_utils.h" | 21 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test
_utils.h" |
21 #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" |
22 #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" |
23 #include "components/variations/variations_associated_data.h" | 24 #include "components/variations/variations_associated_data.h" |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 DCHECK_EQ(3u, request_options()->GeneratePageId()); | 374 DCHECK_EQ(3u, request_options()->GeneratePageId()); |
374 | 375 |
375 request_options()->SetSecureSession("blah"); | 376 request_options()->SetSecureSession("blah"); |
376 | 377 |
377 DCHECK_EQ(1u, request_options()->GeneratePageId()); | 378 DCHECK_EQ(1u, request_options()->GeneratePageId()); |
378 DCHECK_EQ(2u, request_options()->GeneratePageId()); | 379 DCHECK_EQ(2u, request_options()->GeneratePageId()); |
379 DCHECK_EQ(3u, request_options()->GeneratePageId()); | 380 DCHECK_EQ(3u, request_options()->GeneratePageId()); |
380 } | 381 } |
381 | 382 |
382 } // namespace data_reduction_proxy | 383 } // namespace data_reduction_proxy |
OLD | NEW |