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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/bind_helpers.h" | 6 #include "base/bind_helpers.h" |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "chrome/browser/policy/cloud_policy_constants.h" | 10 #include "chrome/browser/policy/cloud/cloud_policy_constants.h" |
11 #include "chrome/browser/policy/device_management_service.h" | 11 #include "chrome/browser/policy/cloud/device_management_service.h" |
| 12 #include "chrome/browser/policy/cloud/test_request_interceptor.h" |
12 #include "chrome/browser/policy/test/local_policy_test_server.h" | 13 #include "chrome/browser/policy/test/local_policy_test_server.h" |
13 #include "chrome/browser/policy/test_request_interceptor.h" | |
14 #include "chrome/test/base/in_process_browser_test.h" | 14 #include "chrome/test/base/in_process_browser_test.h" |
15 #include "net/base/upload_bytes_element_reader.h" | 15 #include "net/base/upload_bytes_element_reader.h" |
16 #include "net/base/upload_data_stream.h" | 16 #include "net/base/upload_data_stream.h" |
17 #include "net/url_request/url_fetcher.h" | 17 #include "net/url_request/url_fetcher.h" |
18 #include "net/url_request/url_request.h" | 18 #include "net/url_request/url_request.h" |
19 #include "net/url_request/url_request_test_job.h" | 19 #include "net/url_request/url_request_test_job.h" |
20 #include "testing/gmock/include/gmock/gmock.h" | 20 #include "testing/gmock/include/gmock/gmock.h" |
21 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
22 | 22 |
23 using testing::DoAll; | 23 using testing::DoAll; |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 MessageLoop::current()->Run(); | 207 MessageLoop::current()->Run(); |
208 } | 208 } |
209 | 209 |
210 INSTANTIATE_TEST_CASE_P( | 210 INSTANTIATE_TEST_CASE_P( |
211 DeviceManagementServiceIntegrationTestInstance, | 211 DeviceManagementServiceIntegrationTestInstance, |
212 DeviceManagementServiceIntegrationTest, | 212 DeviceManagementServiceIntegrationTest, |
213 testing::Values(&DeviceManagementServiceIntegrationTest::InitCannedResponse, | 213 testing::Values(&DeviceManagementServiceIntegrationTest::InitCannedResponse, |
214 &DeviceManagementServiceIntegrationTest::InitTestServer)); | 214 &DeviceManagementServiceIntegrationTest::InitTestServer)); |
215 | 215 |
216 } // namespace policy | 216 } // namespace policy |
OLD | NEW |