Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: chrome/browser/policy/cloud/device_management_service_browsertest.cc

Issue 12189011: Split up chrome/browser/policy subdirectory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, add chrome/browser/chromeos/policy/OWNERS Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698