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

Side by Side Diff: webkit/glue/iframe_redirect_unittest.cc

Issue 8787003: Update these includes to use the new header locations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/glue/idb_bindings.cc ('k') | webkit/glue/image_decoder.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <string> 5 #include <string>
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
15 #include "webkit/glue/webkit_glue.h" 15 #include "webkit/glue/webkit_glue.h"
16 #include "webkit/tools/test_shell/test_shell_test.h" 16 #include "webkit/tools/test_shell/test_shell_test.h"
17 17
18 using WebKit::WebDataSource; 18 using WebKit::WebDataSource;
19 using WebKit::WebFrame; 19 using WebKit::WebFrame;
20 using WebKit::WebString; 20 using WebKit::WebString;
21 using WebKit::WebURL; 21 using WebKit::WebURL;
22 using WebKit::WebVector; 22 using WebKit::WebVector;
23 23
(...skipping 15 matching lines...) Expand all
39 WebFrame* iframe = 39 WebFrame* iframe =
40 test_shell_->webView()->findFrameByName(WebString::fromUTF8("ifr")); 40 test_shell_->webView()->findFrameByName(WebString::fromUTF8("ifr"));
41 ASSERT_TRUE(iframe != NULL); 41 ASSERT_TRUE(iframe != NULL);
42 WebDataSource* iframe_ds = iframe->dataSource(); 42 WebDataSource* iframe_ds = iframe->dataSource();
43 ASSERT_TRUE(iframe_ds != NULL); 43 ASSERT_TRUE(iframe_ds != NULL);
44 WebVector<WebURL> redirects; 44 WebVector<WebURL> redirects;
45 iframe_ds->redirectChain(redirects); 45 iframe_ds->redirectChain(redirects);
46 ASSERT_FALSE(redirects.isEmpty()); 46 ASSERT_FALSE(redirects.isEmpty());
47 ASSERT_TRUE(GURL(redirects[0]) == GURL("about:blank")); 47 ASSERT_TRUE(GURL(redirects[0]) == GURL("about:blank"));
48 } 48 }
OLDNEW
« no previous file with comments | « webkit/glue/idb_bindings.cc ('k') | webkit/glue/image_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698