Index: util/net/http_transport_mac.h |
diff --git a/util/net/http_transport_mac.h b/util/net/http_transport_mac.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3b9dc44d0a806a4126cf4f4921326cbbf5553e5b |
--- /dev/null |
+++ b/util/net/http_transport_mac.h |
@@ -0,0 +1,40 @@ |
+// Copyright 2014 The Crashpad Authors. All rights reserved. |
+// |
+// Licensed under the Apache License, Version 2.0 (the "License"); |
+// you may not use this file except in compliance with the License. |
+// You may obtain a copy of the License at |
+// |
+// http://www.apache.org/licenses/LICENSE-2.0 |
+// |
+// Unless required by applicable law or agreed to in writing, software |
+// distributed under the License is distributed on an "AS IS" BASIS, |
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
+// See the License for the specific language governing permissions and |
+// limitations under the License. |
+ |
+#ifndef CRASHPAD_UTIL_NET_HTTP_MULTIPART_UPLOAD_MAC_H_ |
+#define CRASHPAD_UTIL_NET_HTTP_MULTIPART_UPLOAD_MAC_H_ |
+ |
+#include <string> |
Mark Mentovai
2014/10/30 21:13:54
Unused.
Robert Sesek
2014/10/31 14:48:14
Now this entire file is.
|
+ |
+#include "base/basictypes.h" |
+#include "util/net/http_transport.h" |
+ |
+namespace crashpad { |
+ |
+//! \brief An implementation of HTTPTransport that uses OS X Foundation to |
+//! execute the HTTP request. |
+class HTTPTransportMac final : public HTTPTransport { |
+ public: |
+ HTTPTransportMac(); |
+ ~HTTPTransportMac() override; |
+ |
+ bool ExecuteSynchronously() override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(HTTPTransportMac); |
+}; |
+ |
+} // namespace crashpad |
+ |
+#endif // CRASHPAD_UTIL_NET_HTTP_MULTIPART_UPLOAD_MAC_H_ |