OLD | NEW |
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 "content/test/test_render_view_host.h" | 5 #include "content/test/test_render_view_host.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" | 8 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" |
9 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 9 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
10 #include "content/browser/site_instance_impl.h" | 10 #include "content/browser/site_instance_impl.h" |
11 #include "content/common/dom_storage/dom_storage_types.h" | 11 #include "content/common/dom_storage/dom_storage_types.h" |
12 #include "content/common/view_messages.h" | 12 #include "content/common/view_messages.h" |
13 #include "content/public/browser/browser_context.h" | 13 #include "content/public/browser/browser_context.h" |
14 #include "content/public/browser/navigation_controller.h" | 14 #include "content/public/browser/navigation_controller.h" |
15 #include "content/public/browser/storage_partition.h" | 15 #include "content/public/browser/storage_partition.h" |
16 #include "content/public/common/content_client.h" | 16 #include "content/public/common/content_client.h" |
17 #include "content/public/common/page_state.h" | 17 #include "content/public/common/page_state.h" |
| 18 #include "content/public/common/webpreferences.h" |
18 #include "content/test/test_backing_store.h" | 19 #include "content/test/test_backing_store.h" |
19 #include "content/test/test_web_contents.h" | 20 #include "content/test/test_web_contents.h" |
20 #include "media/base/video_frame.h" | 21 #include "media/base/video_frame.h" |
21 #include "ui/gfx/rect.h" | 22 #include "ui/gfx/rect.h" |
22 #include "webkit/common/webpreferences.h" | |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 | 25 |
26 namespace { | 26 namespace { |
27 | 27 |
28 const int64 kFrameId = 13UL; | 28 const int64 kFrameId = 13UL; |
29 | 29 |
30 } // namespace | 30 } // namespace |
31 | 31 |
32 | 32 |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 | 427 |
428 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { | 428 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { |
429 return static_cast<TestRenderFrameHost*>(main_rfh()); | 429 return static_cast<TestRenderFrameHost*>(main_rfh()); |
430 } | 430 } |
431 | 431 |
432 TestWebContents* RenderViewHostImplTestHarness::contents() { | 432 TestWebContents* RenderViewHostImplTestHarness::contents() { |
433 return static_cast<TestWebContents*>(web_contents()); | 433 return static_cast<TestWebContents*>(web_contents()); |
434 } | 434 } |
435 | 435 |
436 } // namespace content | 436 } // namespace content |
OLD | NEW |