OLD | NEW |
(Empty) | |
| 1 # The //chrome/browser/policy code is being converted into a component at |
| 2 # //components/policy. This DEPS file is temporarily restricting the include |
| 3 # rules for this code; once all the exceptions are fixed then the code will |
| 4 # be moved, and this file will be removed. |
| 5 # http://crbug.com/271392 |
| 6 |
| 7 include_rules = [ |
| 8 "-chrome", |
| 9 "-chromeos", |
| 10 "-content", |
| 11 "+chrome/browser/policy", |
| 12 "+chrome/browser/policy/cloud", |
| 13 ] |
| 14 |
| 15 specific_include_rules = { |
| 16 # These files will stay. |
| 17 r"(cloud_policy_browsertest|" |
| 18 r"cloud_policy_manager_browsertest|" |
| 19 r"component_cloud_policy_browsertest|" |
| 20 r"device_management_service_browsertest|" |
| 21 r"user_policy_signin_service_android|" |
| 22 r"user_policy_signin_service_base|" |
| 23 r"user_policy_signin_service|" |
| 24 r"user_policy_signin_service_factory|" |
| 25 r"user_policy_signin_service_unittest)" |
| 26 r"\.(cc|h)": [ |
| 27 "+chrome", |
| 28 "+chromeos", |
| 29 "+content/public/browser", |
| 30 "+content/public/common", |
| 31 "+content/public/test", |
| 32 "+content/test/net", |
| 33 ], |
| 34 |
| 35 # TODO(joaodasilva): remove these exceptions. |
| 36 r"cloud_external_data_manager_base\.cc": [ |
| 37 "+content/public/browser/browser_thread.h", |
| 38 ], |
| 39 |
| 40 r"cloud_external_data_manager_base_unittest\.cc": [ |
| 41 "+content/public/test/test_browser_thread_bundle.h", |
| 42 ], |
| 43 |
| 44 r"cloud_policy_client_registration_helper\.cc": [ |
| 45 "+chrome/browser/signin/android_profile_oauth2_token_service.h", |
| 46 "+chrome/browser/signin/oauth2_token_service.h", |
| 47 ], |
| 48 |
| 49 r"cloud_policy_constants\.cc": [ |
| 50 "+chrome/common/chrome_switches.h", |
| 51 ], |
| 52 |
| 53 r"cloud_policy_core_unittest\.cc": [ |
| 54 "+chrome/browser/prefs/browser_prefs.h", |
| 55 "+chrome/common/pref_names.h", |
| 56 ], |
| 57 |
| 58 r"cloud_policy_invalidator\.cc": [ |
| 59 "+chrome/browser/invalidation/invalidation_service.h", |
| 60 "+chrome/browser/invalidation/invalidation_service_factory.h", |
| 61 "+chrome/common/chrome_switches.h", |
| 62 ], |
| 63 |
| 64 r"cloud_policy_invalidator_unittest\.cc": [ |
| 65 "+chrome/browser/invalidation/fake_invalidation_service.h", |
| 66 ], |
| 67 |
| 68 r"cloud_policy_manager_unittest\.cc": [ |
| 69 "+chrome/browser/invalidation/fake_invalidation_service.h", |
| 70 ], |
| 71 |
| 72 r"cloud_policy_refresh_scheduler\.cc": [ |
| 73 "+chrome/browser/chrome_notification_types.h", |
| 74 "+content/public/browser/notification_details.h", |
| 75 ], |
| 76 |
| 77 r"cloud_policy_refresh_scheduler_unittest\.cc": [ |
| 78 "+chrome/browser/prefs/browser_prefs.h", |
| 79 ], |
| 80 |
| 81 r"cloud_policy_validator\.cc": [ |
| 82 "+content/public/browser/browser_thread.h", |
| 83 ], |
| 84 |
| 85 r"cloud_policy_validator_unittest\.cc": [ |
| 86 "+content/public/test/test_browser_thread.h", |
| 87 ], |
| 88 |
| 89 r"component_cloud_policy_service\.cc": [ |
| 90 "+content/public/browser/browser_thread.h", |
| 91 ], |
| 92 |
| 93 r"component_cloud_policy_service_unittest\.cc": [ |
| 94 "+chrome/common/policy/policy_schema.h", |
| 95 "+content/public/browser/browser_thread.h", |
| 96 "+content/public/test/test_browser_thread.h", |
| 97 ], |
| 98 |
| 99 r"device_management_service\.cc": [ |
| 100 "+chrome/browser/browser_process.h", |
| 101 "+chrome/browser/net/basic_http_user_agent_settings.h", |
| 102 "+chrome/browser/net/chrome_net_log.h", |
| 103 "+chrome/common/chrome_version_info.h", |
| 104 "+content/public/browser/browser_thread.h", |
| 105 "+content/public/common/content_client.h", |
| 106 "+chrome/browser/chromeos/system/statistics_provider.h", |
| 107 ], |
| 108 |
| 109 r"device_management_service_unittest\.cc": [ |
| 110 "+chrome/test/base/testing_browser_process.h", |
| 111 "+content/public/test/test_browser_thread_bundle.h", |
| 112 ], |
| 113 |
| 114 r"test_request_interceptor\.cc": [ |
| 115 "+content/public/browser/browser_thread.h", |
| 116 "+content/public/test/test_utils.h", |
| 117 "+content/test/net/url_request_mock_http_job.h", |
| 118 ], |
| 119 |
| 120 r"user_cloud_policy_invalidator\.cc": [ |
| 121 "+chrome/browser/chrome_notification_types.h", |
| 122 "+content/public/browser/notification_source.h", |
| 123 ], |
| 124 |
| 125 r"user_cloud_policy_invalidator_factory\.cc": [ |
| 126 "+chrome/browser/invalidation/invalidation_service_factory.h", |
| 127 "+chrome/browser/profiles/profile.h", |
| 128 "+chrome/common/chrome_switches.h", |
| 129 "+chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h", |
| 130 "+chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.
h", |
| 131 ], |
| 132 |
| 133 r"user_cloud_policy_invalidator\.h": [ |
| 134 "+content/public/browser/notification_observer.h", |
| 135 "+content/public/browser/notification_registrar.h", |
| 136 ], |
| 137 |
| 138 r"user_cloud_policy_manager\.cc": [ |
| 139 "+chrome/common/pref_names.h", |
| 140 ], |
| 141 |
| 142 r"user_cloud_policy_manager_factory\.cc": [ |
| 143 "+chrome/browser/profiles/profile.h", |
| 144 "+chrome/common/chrome_switches.h", |
| 145 ], |
| 146 |
| 147 r"user_cloud_policy_store\.cc": [ |
| 148 "+chrome/browser/profiles/profile.h", |
| 149 "+chrome/browser/signin/signin_manager.h", |
| 150 "+chrome/browser/signin/signin_manager_factory.h", |
| 151 "+content/public/browser/browser_thread.h", |
| 152 ], |
| 153 |
| 154 r"user_cloud_policy_store_unittest\.cc": [ |
| 155 "+chrome/browser/signin/fake_signin_manager.h", |
| 156 "+chrome/browser/signin/signin_manager.h", |
| 157 "+chrome/browser/signin/signin_manager_factory.h", |
| 158 "+chrome/common/pref_names.h", |
| 159 "+chrome/test/base/testing_profile.h", |
| 160 "+content/public/test/test_browser_thread.h", |
| 161 ], |
| 162 } |
OLD | NEW |