OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/compiler_specific.h" | 5 #include "base/compiler_specific.h" |
| 6 #include "content/public/common/user_agent.h" |
6 #include "content/public/test/render_view_test.h" | 7 #include "content/public/test/render_view_test.h" |
7 #include "content/renderer/pepper/url_request_info_util.h" | 8 #include "content/renderer/pepper/url_request_info_util.h" |
8 #include "ppapi/proxy/connection.h" | 9 #include "ppapi/proxy/connection.h" |
9 #include "ppapi/proxy/url_request_info_resource.h" | 10 #include "ppapi/proxy/url_request_info_resource.h" |
10 #include "ppapi/shared_impl/proxy_lock.h" | 11 #include "ppapi/shared_impl/proxy_lock.h" |
11 #include "ppapi/shared_impl/test_globals.h" | 12 #include "ppapi/shared_impl/test_globals.h" |
12 #include "ppapi/shared_impl/url_request_info_data.h" | 13 #include "ppapi/shared_impl/url_request_info_data.h" |
13 #include "ppapi/thunk/thunk.h" | 14 #include "ppapi/thunk/thunk.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
15 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 16 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 PP_URLREQUESTPROPERTY_HEADERS, "foo: bar\nbar: baz")); | 247 PP_URLREQUESTPROPERTY_HEADERS, "foo: bar\nbar: baz")); |
247 EXPECT_TRUE(IsExpected( | 248 EXPECT_TRUE(IsExpected( |
248 GetHeaderValue("foo"), "bar")); | 249 GetHeaderValue("foo"), "bar")); |
249 EXPECT_TRUE(IsExpected( | 250 EXPECT_TRUE(IsExpected( |
250 GetHeaderValue("bar"), "baz")); | 251 GetHeaderValue("bar"), "baz")); |
251 } | 252 } |
252 | 253 |
253 // TODO(bbudge) Unit tests for AppendDataToBody, AppendFileToBody. | 254 // TODO(bbudge) Unit tests for AppendDataToBody, AppendFileToBody. |
254 | 255 |
255 } // namespace content | 256 } // namespace content |
OLD | NEW |