| Index: content/browser/web_contents/test_web_contents.cc
|
| diff --git a/content/browser/web_contents/test_web_contents.cc b/content/browser/web_contents/test_web_contents.cc
|
| index 9ae1486eb696e18296320881bfdaa42696fff60c..8310fa2db39803deaf9c38614b2b1322ce4945a3 100644
|
| --- a/content/browser/web_contents/test_web_contents.cc
|
| +++ b/content/browser/web_contents/test_web_contents.cc
|
| @@ -200,6 +200,24 @@ void TestWebContents::SetHistoryLengthAndPrune(
|
| EXPECT_EQ(expect_set_history_length_and_prune_min_page_id_, min_page_id);
|
| }
|
|
|
| +void TestWebContents::TestDidFinishLoad(int64 frame_id,
|
| + const GURL& url,
|
| + bool is_main_frame) {
|
| + ViewHostMsg_DidFinishLoad msg(0, frame_id, url, is_main_frame);
|
| + OnMessageReceived(render_manager_.current_host(), msg);
|
| +}
|
| +
|
| +void TestWebContents::TestDidFailLoadWithError(
|
| + int64 frame_id,
|
| + const GURL& url,
|
| + bool is_main_frame,
|
| + int error_code,
|
| + const string16& error_description) {
|
| + ViewHostMsg_DidFailLoadWithError msg(
|
| + 0, frame_id, url, is_main_frame, error_code, error_description);
|
| + OnMessageReceived(render_manager_.current_host(), msg);
|
| +}
|
| +
|
| void TestWebContents::CreateNewWindow(
|
| int route_id,
|
| const ViewHostMsg_CreateWindow_Params& params,
|
|
|