Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Side by Side Diff: content/renderer/pepper/pepper_url_request_unittest.cc

Issue 15702003: Move webkit/user_agent/ into webkit/common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_client.cc ('k') | content/shell/common/shell_content_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/test/render_view_test.h" 6 #include "content/public/test/render_view_test.h"
7 #include "ppapi/proxy/connection.h" 7 #include "ppapi/proxy/connection.h"
8 #include "ppapi/proxy/url_request_info_resource.h" 8 #include "ppapi/proxy/url_request_info_resource.h"
9 #include "ppapi/shared_impl/test_globals.h" 9 #include "ppapi/shared_impl/test_globals.h"
10 #include "ppapi/shared_impl/url_request_info_data.h" 10 #include "ppapi/shared_impl/url_request_info_data.h"
11 #include "ppapi/thunk/thunk.h" 11 #include "ppapi/thunk/thunk.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
17 #include "webkit/common/user_agent/user_agent.h"
18 #include "webkit/common/user_agent/user_agent_util.h"
17 #include "webkit/plugins/ppapi/url_request_info_util.h" 19 #include "webkit/plugins/ppapi/url_request_info_util.h"
18 #include "webkit/user_agent/user_agent.h"
19 #include "webkit/user_agent/user_agent_util.h"
20 20
21 // This test is a end-to-end test from the resource to the WebKit request 21 // This test is a end-to-end test from the resource to the WebKit request
22 // object. The actual resource implementation is so simple, it makes sense to 22 // object. The actual resource implementation is so simple, it makes sense to
23 // test it by making sure the conversion routines actually work at the same 23 // test it by making sure the conversion routines actually work at the same
24 // time. 24 // time.
25 25
26 using WebKit::WebCString; 26 using WebKit::WebCString;
27 using WebKit::WebFrame; 27 using WebKit::WebFrame;
28 using WebKit::WebFrameClient; 28 using WebKit::WebFrameClient;
29 using WebKit::WebString; 29 using WebKit::WebString;
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 EXPECT_TRUE(IsExpected( 251 EXPECT_TRUE(IsExpected(
252 GetHeaderValue("foo"), "bar")); 252 GetHeaderValue("foo"), "bar"));
253 EXPECT_TRUE(IsExpected( 253 EXPECT_TRUE(IsExpected(
254 GetHeaderValue("bar"), "baz")); 254 GetHeaderValue("bar"), "baz"));
255 } 255 }
256 256
257 // TODO(bbudge) Unit tests for AppendDataToBody, AppendFileToBody. 257 // TODO(bbudge) Unit tests for AppendDataToBody, AppendFileToBody.
258 258
259 } // namespace ppapi 259 } // namespace ppapi
260 } // namespace webkit 260 } // namespace webkit
OLDNEW
« no previous file with comments | « content/public/common/content_client.cc ('k') | content/shell/common/shell_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698