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

Side by Side Diff: third_party/WebKit/Source/web/tests/PrerenderingTest.cpp

Issue 2675303004: Move WebCache from public/web into public/platform (Closed)
Patch Set: . Created 3 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include <functional> 31 #include <functional>
32 #include <list> 32 #include <list>
33 #include <memory> 33 #include <memory>
34 #include "core/dom/NodeTraversal.h" 34 #include "core/dom/NodeTraversal.h"
35 #include "platform/testing/URLTestHelpers.h" 35 #include "platform/testing/URLTestHelpers.h"
36 #include "platform/testing/UnitTestHelpers.h" 36 #include "platform/testing/UnitTestHelpers.h"
37 #include "public/platform/Platform.h" 37 #include "public/platform/Platform.h"
38 #include "public/platform/WebCache.h"
38 #include "public/platform/WebPrerender.h" 39 #include "public/platform/WebPrerender.h"
39 #include "public/platform/WebPrerenderingSupport.h" 40 #include "public/platform/WebPrerenderingSupport.h"
40 #include "public/platform/WebString.h" 41 #include "public/platform/WebString.h"
41 #include "public/platform/WebURLLoaderMockFactory.h" 42 #include "public/platform/WebURLLoaderMockFactory.h"
42 #include "public/web/WebCache.h"
43 #include "public/web/WebFrame.h" 43 #include "public/web/WebFrame.h"
44 #include "public/web/WebPrerendererClient.h" 44 #include "public/web/WebPrerendererClient.h"
45 #include "public/web/WebScriptSource.h" 45 #include "public/web/WebScriptSource.h"
46 #include "public/web/WebView.h" 46 #include "public/web/WebView.h"
47 #include "public/web/WebViewClient.h" 47 #include "public/web/WebViewClient.h"
48 #include "testing/gtest/include/gtest/gtest.h" 48 #include "testing/gtest/include/gtest/gtest.h"
49 #include "web/WebLocalFrameImpl.h" 49 #include "web/WebLocalFrameImpl.h"
50 #include "web/tests/FrameTestHelpers.h" 50 #include "web/tests/FrameTestHelpers.h"
51 #include "wtf/PtrUtil.h" 51 #include "wtf/PtrUtil.h"
52 52
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 467
468 WebPrerender relNextAndPrerender = prerendererClient()->releaseWebPrerender(); 468 WebPrerender relNextAndPrerender = prerendererClient()->releaseWebPrerender();
469 EXPECT_EQ(toWebURL("http://rel-next-and-prerender.com/"), 469 EXPECT_EQ(toWebURL("http://rel-next-and-prerender.com/"),
470 relNextAndPrerender.url()); 470 relNextAndPrerender.url());
471 EXPECT_EQ( 471 EXPECT_EQ(
472 static_cast<unsigned>(PrerenderRelTypeNext | PrerenderRelTypePrerender), 472 static_cast<unsigned>(PrerenderRelTypeNext | PrerenderRelTypePrerender),
473 relNextAndPrerender.relTypes()); 473 relNextAndPrerender.relTypes());
474 } 474 }
475 475
476 } // namespace blink 476 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/MHTMLTest.cpp ('k') | third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698