| OLD | NEW |
| 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/fake_app_remoting_report_issue_request.h" | 5 #include "remoting/test/fake_app_remoting_report_issue_request.h" |
| 6 | 6 |
| 7 #include "base/location.h" | 7 #include "base/location.h" |
| 8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
| 9 #include "base/thread_task_runner_handle.h" | 9 #include "base/threading/thread_task_runner_handle.h" |
| 10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 | 11 |
| 12 namespace remoting { | 12 namespace remoting { |
| 13 namespace test { | 13 namespace test { |
| 14 | 14 |
| 15 std::string MakeFormattedStringForReleasedHost( | 15 std::string MakeFormattedStringForReleasedHost( |
| 16 const std::string& application_id, | 16 const std::string& application_id, |
| 17 const std::string& host_id) { | 17 const std::string& host_id) { |
| 18 return application_id + "::" + host_id; | 18 return application_id + "::" + host_id; |
| 19 } | 19 } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 45 | 45 |
| 46 scoped_refptr<base::SingleThreadTaskRunner> task_runner = | 46 scoped_refptr<base::SingleThreadTaskRunner> task_runner = |
| 47 base::ThreadTaskRunnerHandle::Get(); | 47 base::ThreadTaskRunnerHandle::Get(); |
| 48 task_runner->PostTask(FROM_HERE, done_callback); | 48 task_runner->PostTask(FROM_HERE, done_callback); |
| 49 | 49 |
| 50 return true; | 50 return true; |
| 51 } | 51 } |
| 52 | 52 |
| 53 } // namespace test | 53 } // namespace test |
| 54 } // namespace remoting | 54 } // namespace remoting |
| OLD | NEW |