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

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: Add new test file to patch 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
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" 10 #include "webkit/glue/user_agent.h"
11 #include "webkit/glue/webkit_glue.h"
12 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 11 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
13 #include "webkit/plugins/ppapi/ppb_url_request_info_impl.h" 12 #include "webkit/plugins/ppapi/ppb_url_request_info_impl.h"
14 #include "webkit/plugins/ppapi/ppapi_unittest.h" 13 #include "webkit/plugins/ppapi/ppapi_unittest.h"
15 14
16 using WebKit::WebCString; 15 using WebKit::WebCString;
17 using WebKit::WebFrame; 16 using WebKit::WebFrame;
18 using WebKit::WebFrameClient; 17 using WebKit::WebFrameClient;
19 using WebKit::WebString; 18 using WebKit::WebString;
20 using WebKit::WebView; 19 using WebKit::WebView;
21 using WebKit::WebURL; 20 using WebKit::WebURL;
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 EXPECT_TRUE(IsExpected( 249 EXPECT_TRUE(IsExpected(
251 GetHeaderValue("foo"), "bar")); 250 GetHeaderValue("foo"), "bar"));
252 EXPECT_TRUE(IsExpected( 251 EXPECT_TRUE(IsExpected(
253 GetHeaderValue("bar"), "baz")); 252 GetHeaderValue("bar"), "baz"));
254 } 253 }
255 254
256 // TODO(bbudge) Unit tests for AppendDataToBody, AppendFileToBody. 255 // TODO(bbudge) Unit tests for AppendDataToBody, AppendFileToBody.
257 256
258 } // namespace ppapi 257 } // namespace ppapi
259 } // namespace webkit 258 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698