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 <stddef.h> |
| 6 |
5 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
6 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/macros.h" |
7 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
8 #include "base/prefs/pref_registry_simple.h" | 11 #include "base/prefs/pref_registry_simple.h" |
9 #include "base/prefs/pref_service.h" | 12 #include "base/prefs/pref_service.h" |
10 #include "base/prefs/testing_pref_service.h" | 13 #include "base/prefs/testing_pref_service.h" |
11 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
12 #include "base/test/mock_entropy_provider.h" | 15 #include "base/test/mock_entropy_provider.h" |
| 16 #include "build/build_config.h" |
13 #include "chrome/browser/io_thread.h" | 17 #include "chrome/browser/io_thread.h" |
14 #include "chrome/common/chrome_switches.h" | 18 #include "chrome/common/chrome_switches.h" |
15 #include "chrome/common/pref_names.h" | 19 #include "chrome/common/pref_names.h" |
16 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s.h" | 20 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param
s.h" |
17 #include "components/policy/core/common/mock_policy_service.h" | 21 #include "components/policy/core/common/mock_policy_service.h" |
18 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" | 22 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" |
19 #include "components/proxy_config/proxy_config_pref_names.h" | 23 #include "components/proxy_config/proxy_config_pref_names.h" |
20 #include "content/public/browser/browser_thread.h" | 24 #include "content/public/browser/browser_thread.h" |
21 #include "content/public/test/test_browser_thread_bundle.h" | 25 #include "content/public/test/test_browser_thread_bundle.h" |
22 #include "net/http/http_auth_preferences.h" | 26 #include "net/http/http_auth_preferences.h" |
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 &IOThreadTestWithIOThreadObject::CheckAuthAndroidNegoitateAccountType, | 748 &IOThreadTestWithIOThreadObject::CheckAuthAndroidNegoitateAccountType, |
745 base::Unretained(this), "acc1")); | 749 base::Unretained(this), "acc1")); |
746 pref_service()->SetString(prefs::kAuthAndroidNegotiateAccountType, "acc2"); | 750 pref_service()->SetString(prefs::kAuthAndroidNegotiateAccountType, "acc2"); |
747 RunOnIOThreadBlocking(base::Bind( | 751 RunOnIOThreadBlocking(base::Bind( |
748 &IOThreadTestWithIOThreadObject::CheckAuthAndroidNegoitateAccountType, | 752 &IOThreadTestWithIOThreadObject::CheckAuthAndroidNegoitateAccountType, |
749 base::Unretained(this), "acc2")); | 753 base::Unretained(this), "acc2")); |
750 } | 754 } |
751 #endif | 755 #endif |
752 | 756 |
753 } // namespace test | 757 } // namespace test |
OLD | NEW |