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

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

Issue 2090463002: Move net/base/test_data_directory.[cc,h] to net/test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/captive_portal/captive_portal_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
16 #include "base/test/test_simple_task_runner.h" 16 #include "base/test/test_simple_task_runner.h"
17 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "blimp/client/app/blimp_client_switches.h" 19 #include "blimp/client/app/blimp_client_switches.h"
20 #include "blimp/common/get_client_token.h" 20 #include "blimp/common/get_client_token.h"
21 #include "blimp/common/protocol_version.h" 21 #include "blimp/common/protocol_version.h"
22 #include "blimp/common/switches.h" 22 #include "blimp/common/switches.h"
23 #include "components/safe_json/testing_json_parser.h" 23 #include "components/safe_json/testing_json_parser.h"
24 #include "net/base/test_data_directory.h" 24 #include "net/test/test_data_directory.h"
25 #include "net/url_request/test_url_fetcher_factory.h" 25 #include "net/url_request/test_url_fetcher_factory.h"
26 #include "testing/gmock/include/gmock/gmock.h" 26 #include "testing/gmock/include/gmock/gmock.h"
27 #include "testing/gtest/include/gtest/gtest.h" 27 #include "testing/gtest/include/gtest/gtest.h"
28 #include "url/gurl.h" 28 #include "url/gurl.h"
29 29
30 using testing::_; 30 using testing::_;
31 using testing::DoAll; 31 using testing::DoAll;
32 using testing::InSequence; 32 using testing::InSequence;
33 using testing::NotNull; 33 using testing::NotNull;
34 using testing::Return; 34 using testing::Return;
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 EXPECT_CALL(*this, AssignmentResponse( 391 EXPECT_CALL(*this, AssignmentResponse(
392 AssignmentSource::Result::RESULT_INVALID_CERT, _)); 392 AssignmentSource::Result::RESULT_INVALID_CERT, _));
393 GetNetworkAssignmentAndWaitForResponse(net::HTTP_OK, net::Error::OK, 393 GetNetworkAssignmentAndWaitForResponse(net::HTTP_OK, net::Error::OK,
394 ValueToString(*response), 394 ValueToString(*response),
395 kTestAuthToken, kProtocolVersion); 395 kTestAuthToken, kProtocolVersion);
396 } 396 }
397 397
398 } // namespace 398 } // namespace
399 } // namespace client 399 } // namespace client
400 } // namespace blimp 400 } // namespace blimp
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/captive_portal/captive_portal_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698