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

Unified Diff: content/public/test/layouttest_support.h

Issue 246163006: Move history serialization from contet/public/renderer/ to content/renderer/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix braces Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/renderer/history_item_serialization.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/layouttest_support.h
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h
index 3b3ab3b726d63c4b66da8a618d64e28998ee1aec..a96b0a7f8100724253ac9101d2db42dea40b4383 100644
--- a/content/public/test/layouttest_support.h
+++ b/content/public/test/layouttest_support.h
@@ -5,6 +5,9 @@
#ifndef CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_
#define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_
+#include <string>
+#include <vector>
+
#include "base/callback_forward.h"
#include "third_party/WebKit/public/platform/WebScreenOrientationType.h"
@@ -18,6 +21,7 @@ struct WebSize;
namespace content {
+class PageState;
class RenderView;
class WebTestProxyBase;
@@ -93,6 +97,10 @@ void DisableAutoResizeMode(RenderView* render_view,
// Forces the |render_view| to use mock media streams.
void UseMockMediaStreams(RenderView* render_view);
+// Provides a text dump of the contents of the given page state.
+std::string DumpBackForwardList(std::vector<PageState>& page_state,
+ size_t current_index);
+
} // namespace content
#endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_
« no previous file with comments | « content/public/renderer/history_item_serialization.cc ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698