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 #ifndef REMOTING_TEST_APP_REMOTING_REPORT_ISSUE_REQUEST_H_ | 5 #ifndef REMOTING_TEST_APP_REMOTING_REPORT_ISSUE_REQUEST_H_ |
6 #define REMOTING_TEST_APP_REMOTING_REPORT_ISSUE_REQUEST_H_ | 6 #define REMOTING_TEST_APP_REMOTING_REPORT_ISSUE_REQUEST_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "net/url_request/url_fetcher_delegate.h" | 14 #include "net/url_request/url_fetcher_delegate.h" |
15 #include "remoting/test/app_remoting_service_urls.h" | 15 #include "remoting/test/app_remoting_service_urls.h" |
16 | 16 |
17 namespace net { | |
18 class UrlFetcher; | |
19 } | |
20 namespace remoting { | 17 namespace remoting { |
21 class URLRequestContextGetter; | 18 class URLRequestContextGetter; |
22 } | 19 } |
23 | 20 |
24 namespace remoting { | 21 namespace remoting { |
25 namespace test { | 22 namespace test { |
26 | 23 |
27 // Calls the App Remoting service API to report an issue. This is typically | 24 // Calls the App Remoting service API to report an issue. This is typically |
28 // used to abandon a remote host or to upload crash logs. | 25 // used to abandon a remote host or to upload crash logs. |
29 // Must be used from a thread running an IO message loop. | 26 // Must be used from a thread running an IO message loop. |
(...skipping 24 matching lines...) Expand all Loading... |
54 // Caller-supplied callback which is signalled when the request is complete. | 51 // Caller-supplied callback which is signalled when the request is complete. |
55 base::Closure request_complete_callback_; | 52 base::Closure request_complete_callback_; |
56 | 53 |
57 DISALLOW_COPY_AND_ASSIGN(AppRemotingReportIssueRequest); | 54 DISALLOW_COPY_AND_ASSIGN(AppRemotingReportIssueRequest); |
58 }; | 55 }; |
59 | 56 |
60 } // namespace test | 57 } // namespace test |
61 } // namespace remoting | 58 } // namespace remoting |
62 | 59 |
63 #endif // REMOTING_TEST_APP_REMOTING_REPORT_ISSUE_REQUEST_H_ | 60 #endif // REMOTING_TEST_APP_REMOTING_REPORT_ISSUE_REQUEST_H_ |
OLD | NEW |