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

Side by Side Diff: webkit/plugins/ppapi/url_request_info_unittest.cc

Issue 10869073: Split user agent code out of the 'glue' target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to trunk Created 8 years, 3 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 | « webkit/plugins/npapi/plugin_host.cc ('k') | webkit/support/webkit_support.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 "ppapi/thunk/thunk.h" 5 #include "ppapi/thunk/thunk.h"
6 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 6 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
7 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" 7 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h"
8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques t.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques t.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
10 #include "webkit/glue/user_agent.h"
11 #include "webkit/glue/webkit_glue.h"
12 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 10 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
13 #include "webkit/plugins/ppapi/ppb_url_request_info_impl.h" 11 #include "webkit/plugins/ppapi/ppb_url_request_info_impl.h"
14 #include "webkit/plugins/ppapi/ppapi_unittest.h" 12 #include "webkit/plugins/ppapi/ppapi_unittest.h"
13 #include "webkit/user_agent/user_agent.h"
14 #include "webkit/user_agent/user_agent_util.h"
15 15
16 using WebKit::WebCString; 16 using WebKit::WebCString;
17 using WebKit::WebFrame; 17 using WebKit::WebFrame;
18 using WebKit::WebFrameClient; 18 using WebKit::WebFrameClient;
19 using WebKit::WebString; 19 using WebKit::WebString;
20 using WebKit::WebView; 20 using WebKit::WebView;
21 using WebKit::WebURL; 21 using WebKit::WebURL;
22 using WebKit::WebURLRequest; 22 using WebKit::WebURLRequest;
23 23
24 namespace { 24 namespace {
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 EXPECT_TRUE(IsExpected( 250 EXPECT_TRUE(IsExpected(
251 GetHeaderValue("foo"), "bar")); 251 GetHeaderValue("foo"), "bar"));
252 EXPECT_TRUE(IsExpected( 252 EXPECT_TRUE(IsExpected(
253 GetHeaderValue("bar"), "baz")); 253 GetHeaderValue("bar"), "baz"));
254 } 254 }
255 255
256 // TODO(bbudge) Unit tests for AppendDataToBody, AppendFileToBody. 256 // TODO(bbudge) Unit tests for AppendDataToBody, AppendFileToBody.
257 257
258 } // namespace ppapi 258 } // namespace ppapi
259 } // namespace webkit 259 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_host.cc ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698