OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <algorithm> | 7 #include <algorithm> |
6 #include <cstdlib> | 8 #include <cstdlib> |
7 #include <map> | 9 #include <map> |
8 #include <sstream> | 10 #include <sstream> |
9 #include <string> | 11 #include <string> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/basictypes.h" | |
13 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
14 #include "base/files/file_util.h" | 15 #include "base/files/file_util.h" |
15 #include "base/json/json_reader.h" | 16 #include "base/json/json_reader.h" |
16 #include "base/logging.h" | 17 #include "base/logging.h" |
| 18 #include "base/macros.h" |
17 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
18 #include "base/memory/scoped_vector.h" | 20 #include "base/memory/scoped_vector.h" |
19 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
20 #include "base/prefs/pref_service.h" | 22 #include "base/prefs/pref_service.h" |
21 #include "base/run_loop.h" | 23 #include "base/run_loop.h" |
22 #include "base/stl_util.h" | 24 #include "base/stl_util.h" |
23 #include "base/strings/string_util.h" | 25 #include "base/strings/string_util.h" |
24 #include "base/strings/utf_string_conversions.h" | 26 #include "base/strings/utf_string_conversions.h" |
25 #include "base/values.h" | 27 #include "base/values.h" |
| 28 #include "build/build_config.h" |
26 #include "chrome/browser/browser_process.h" | 29 #include "chrome/browser/browser_process.h" |
27 #include "chrome/browser/profiles/profile.h" | 30 #include "chrome/browser/profiles/profile.h" |
28 #include "chrome/browser/search_engines/template_url_service_factory.h" | 31 #include "chrome/browser/search_engines/template_url_service_factory.h" |
29 #include "chrome/browser/ui/browser.h" | 32 #include "chrome/browser/ui/browser.h" |
30 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 33 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
31 #include "chrome/test/base/in_process_browser_test.h" | 34 #include "chrome/test/base/in_process_browser_test.h" |
32 #include "chrome/test/base/search_test_utils.h" | 35 #include "chrome/test/base/search_test_utils.h" |
33 #include "chrome/test/base/ui_test_utils.h" | 36 #include "chrome/test/base/ui_test_utils.h" |
34 #include "components/policy/core/browser/browser_policy_connector.h" | 37 #include "components/policy/core/browser/browser_policy_connector.h" |
35 #include "components/policy/core/common/external_data_fetcher.h" | 38 #include "components/policy/core/common/external_data_fetcher.h" |
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 } | 758 } |
756 } | 759 } |
757 } | 760 } |
758 } | 761 } |
759 | 762 |
760 INSTANTIATE_TEST_CASE_P(PolicyPrefIndicatorTestInstance, | 763 INSTANTIATE_TEST_CASE_P(PolicyPrefIndicatorTestInstance, |
761 PolicyPrefIndicatorTest, | 764 PolicyPrefIndicatorTest, |
762 testing::ValuesIn(SplitPoliciesIntoChunks(10))); | 765 testing::ValuesIn(SplitPoliciesIntoChunks(10))); |
763 | 766 |
764 } // namespace policy | 767 } // namespace policy |
OLD | NEW |