OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "blimp/client/session/assignment_source.h" | 5 #include "blimp/client/session/assignment_source.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/json/json_reader.h" | 10 #include "base/json/json_reader.h" |
11 #include "base/json/json_writer.h" | 11 #include "base/json/json_writer.h" |
12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
14 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
15 #include "base/test/test_simple_task_runner.h" | 15 #include "base/test/test_simple_task_runner.h" |
16 #include "base/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
17 #include "base/values.h" | 17 #include "base/values.h" |
18 #include "blimp/client/app/blimp_client_switches.h" | 18 #include "blimp/client/app/blimp_client_switches.h" |
19 #include "blimp/common/protocol_version.h" | 19 #include "blimp/common/protocol_version.h" |
20 #include "components/safe_json/testing_json_parser.h" | 20 #include "components/safe_json/testing_json_parser.h" |
21 #include "net/base/test_data_directory.h" | 21 #include "net/base/test_data_directory.h" |
22 #include "net/url_request/test_url_fetcher_factory.h" | 22 #include "net/url_request/test_url_fetcher_factory.h" |
23 #include "testing/gmock/include/gmock/gmock.h" | 23 #include "testing/gmock/include/gmock/gmock.h" |
24 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
25 #include "url/gurl.h" | 25 #include "url/gurl.h" |
26 | 26 |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 EXPECT_CALL(*this, AssignmentResponse( | 378 EXPECT_CALL(*this, AssignmentResponse( |
379 AssignmentSource::Result::RESULT_INVALID_CERT, _)); | 379 AssignmentSource::Result::RESULT_INVALID_CERT, _)); |
380 GetNetworkAssignmentAndWaitForResponse(net::HTTP_OK, net::Error::OK, | 380 GetNetworkAssignmentAndWaitForResponse(net::HTTP_OK, net::Error::OK, |
381 ValueToString(*response), | 381 ValueToString(*response), |
382 kTestAuthToken, kEngineVersion); | 382 kTestAuthToken, kEngineVersion); |
383 } | 383 } |
384 | 384 |
385 } // namespace | 385 } // namespace |
386 } // namespace client | 386 } // namespace client |
387 } // namespace blimp | 387 } // namespace blimp |
OLD | NEW |