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

Side by Side Diff: remoting/test/app_remoting_report_issue_request.cc

Issue 1969053002: Fix include path for moved thread_task_runner_handle.h header in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "remoting/test/app_remoting_report_issue_request.h" 5 #include "remoting/test/app_remoting_report_issue_request.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "net/http/http_response_headers.h" 11 #include "net/http/http_response_headers.h"
12 #include "net/http/http_status_code.h" 12 #include "net/http/http_status_code.h"
13 #include "net/url_request/url_fetcher.h" 13 #include "net/url_request/url_fetcher.h"
14 #include "remoting/base/url_request_context_getter.h" 14 #include "remoting/base/url_request_context_getter.h"
15 15
16 namespace { 16 namespace {
17 const char kRequestTestOrigin[] = 17 const char kRequestTestOrigin[] =
18 "Origin: chrome-extension://ljacajndfccfgnfohlgkdphmbnpkjflk"; 18 "Origin: chrome-extension://ljacajndfccfgnfohlgkdphmbnpkjflk";
19 } 19 }
20 20
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 if (response_code != net::HTTP_OK && response_code != net::HTTP_NO_CONTENT) { 73 if (response_code != net::HTTP_OK && response_code != net::HTTP_NO_CONTENT) {
74 LOG(ERROR) << "ReportIssue request failed with error code: " 74 LOG(ERROR) << "ReportIssue request failed with error code: "
75 << response_code; 75 << response_code;
76 } 76 }
77 77
78 base::ResetAndReturn(&request_complete_callback_).Run(); 78 base::ResetAndReturn(&request_complete_callback_).Run();
79 } 79 }
80 80
81 } // namespace test 81 } // namespace test
82 } // namespace remoting 82 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/test/app_remoting_latency_test_fixture.cc ('k') | remoting/test/fake_app_remoting_report_issue_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698