| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <vector> | 5 #include <vector> |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "webkit/api/public/WebString.h" | 8 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" |
| 9 #include "webkit/api/public/WebURL.h" | 9 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" |
| 10 #include "webkit/api/public/WebURLLoaderClient.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebURLLoaderClient.h" |
| 11 #include "webkit/api/public/WebURLResponse.h" | 11 #include "third_party/WebKit/WebKit/chromium/public/WebURLResponse.h" |
| 12 #include "webkit/glue/glue_util.h" | 12 #include "webkit/glue/glue_util.h" |
| 13 #include "webkit/glue/multipart_response_delegate.h" | 13 #include "webkit/glue/multipart_response_delegate.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 15 |
| 16 using std::string; | 16 using std::string; |
| 17 using WebKit::WebString; | 17 using WebKit::WebString; |
| 18 using WebKit::WebURL; | 18 using WebKit::WebURL; |
| 19 using WebKit::WebURLError; | 19 using WebKit::WebURLError; |
| 20 using WebKit::WebURLLoader; | 20 using WebKit::WebURLLoader; |
| 21 using WebKit::WebURLLoaderClient; | 21 using WebKit::WebURLLoaderClient; |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 566 content_range_upper_bound = 0; | 566 content_range_upper_bound = 0; |
| 567 | 567 |
| 568 result = MultipartResponseDelegate::ReadContentRanges( | 568 result = MultipartResponseDelegate::ReadContentRanges( |
| 569 response2, &content_range_lower_bound, | 569 response2, &content_range_lower_bound, |
| 570 &content_range_upper_bound); | 570 &content_range_upper_bound); |
| 571 | 571 |
| 572 EXPECT_EQ(result, false); | 572 EXPECT_EQ(result, false); |
| 573 } | 573 } |
| 574 | 574 |
| 575 } // namespace | 575 } // namespace |
| OLD | NEW |