| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 MEDIA_BLINK_TEST_RESPONSE_GENERATOR_H_ | 5 #ifndef MEDIA_BLINK_TEST_RESPONSE_GENERATOR_H_ |
| 6 #define MEDIA_BLINK_TEST_RESPONSE_GENERATOR_H_ | 6 #define MEDIA_BLINK_TEST_RESPONSE_GENERATOR_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "base/macros.h" | 10 #include "base/macros.h" |
| 9 #include "third_party/WebKit/public/platform/WebURLError.h" | 11 #include "third_party/WebKit/public/platform/WebURLError.h" |
| 10 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 12 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
| 11 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 12 | 14 |
| 13 namespace media { | 15 namespace media { |
| 14 | 16 |
| 15 // Generates WebURLErrors and WebURLResponses suitable for testing purposes. | 17 // Generates WebURLErrors and WebURLResponses suitable for testing purposes. |
| 16 class TestResponseGenerator { | 18 class TestResponseGenerator { |
| 17 public: | 19 public: |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 private: | 71 private: |
| 70 GURL gurl_; | 72 GURL gurl_; |
| 71 int64_t content_length_; | 73 int64_t content_length_; |
| 72 | 74 |
| 73 DISALLOW_COPY_AND_ASSIGN(TestResponseGenerator); | 75 DISALLOW_COPY_AND_ASSIGN(TestResponseGenerator); |
| 74 }; | 76 }; |
| 75 | 77 |
| 76 } // namespace media | 78 } // namespace media |
| 77 | 79 |
| 78 #endif // MEDIA_BLINK_TEST_RESPONSE_GENERATOR_H_ | 80 #endif // MEDIA_BLINK_TEST_RESPONSE_GENERATOR_H_ |
| OLD | NEW |