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

Side by Side Diff: blimp/client/core/session/assignment_source_unittest.cc

Issue 2376573002: Cleanup blimp/client/core code organization. (Closed)
Patch Set: merged origin/master Created 4 years, 2 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
OLDNEW
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/core/session/assignment_source.h" 5 #include "blimp/client/core/session/assignment_source.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/json/json_reader.h" 13 #include "base/json/json_reader.h"
14 #include "base/json/json_writer.h" 14 #include "base/json/json_writer.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/path_service.h" 16 #include "base/path_service.h"
17 #include "base/run_loop.h" 17 #include "base/run_loop.h"
18 #include "base/strings/string_number_conversions.h" 18 #include "base/strings/string_number_conversions.h"
19 #include "base/test/test_simple_task_runner.h" 19 #include "base/test/test_simple_task_runner.h"
20 #include "base/threading/thread_task_runner_handle.h" 20 #include "base/threading/thread_task_runner_handle.h"
21 #include "base/values.h" 21 #include "base/values.h"
22 #include "blimp/client/core/blimp_client_switches.h" 22 #include "blimp/client/core/switches/blimp_client_switches.h"
23 #include "blimp/common/get_client_auth_token.h" 23 #include "blimp/common/get_client_auth_token.h"
24 #include "blimp/common/protocol_version.h" 24 #include "blimp/common/protocol_version.h"
25 #include "blimp/common/switches.h" 25 #include "blimp/common/switches.h"
26 #include "components/safe_json/testing_json_parser.h" 26 #include "components/safe_json/testing_json_parser.h"
27 #include "net/test/test_data_directory.h" 27 #include "net/test/test_data_directory.h"
28 #include "net/url_request/test_url_fetcher_factory.h" 28 #include "net/url_request/test_url_fetcher_factory.h"
29 #include "testing/gmock/include/gmock/gmock.h" 29 #include "testing/gmock/include/gmock/gmock.h"
30 #include "testing/gtest/include/gtest/gtest.h" 30 #include "testing/gtest/include/gtest/gtest.h"
31 #include "url/gurl.h" 31 #include "url/gurl.h"
32 32
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 EXPECT_CALL(*this, 395 EXPECT_CALL(*this,
396 AssignmentResponse(ASSIGNMENT_REQUEST_RESULT_INVALID_CERT, _)); 396 AssignmentResponse(ASSIGNMENT_REQUEST_RESULT_INVALID_CERT, _));
397 GetNetworkAssignmentAndWaitForResponse(net::HTTP_OK, net::Error::OK, 397 GetNetworkAssignmentAndWaitForResponse(net::HTTP_OK, net::Error::OK,
398 ValueToString(*response), 398 ValueToString(*response),
399 kTestAuthToken, kProtocolVersion); 399 kTestAuthToken, kProtocolVersion);
400 } 400 }
401 401
402 } // namespace 402 } // namespace
403 } // namespace client 403 } // namespace client
404 } // namespace blimp 404 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/core/session/assignment_source.cc ('k') | blimp/client/core/session/identity_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698