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

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

Issue 186883002: Move user_agent code from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm build directory Created 6 years, 9 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/user_agent.h ('k') | content/shell/browser/shell_devtools_delegate.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/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
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
OLDNEW
« no previous file with comments | « content/public/common/user_agent.h ('k') | content/shell/browser/shell_devtools_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698