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/public/test/render_view_fake_resources_test.h" | 5 #include "content/public/test/render_view_fake_resources_test.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 | 8 |
9 #include "base/process.h" | 9 #include "base/process.h" |
10 #include "base/shared_memory.h" | 10 #include "base/shared_memory.h" |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 params.url = GURL(history_item.urlString()); | 204 params.url = GURL(history_item.urlString()); |
205 params.transition = PAGE_TRANSITION_FORWARD_BACK; | 205 params.transition = PAGE_TRANSITION_FORWARD_BACK; |
206 params.state = webkit_glue::HistoryItemToString(history_item); | 206 params.state = webkit_glue::HistoryItemToString(history_item); |
207 params.navigation_type = ViewMsg_Navigate_Type::NORMAL; | 207 params.navigation_type = ViewMsg_Navigate_Type::NORMAL; |
208 params.request_time = base::Time::Now(); | 208 params.request_time = base::Time::Now(); |
209 channel_->Send(new ViewMsg_Navigate(impl->routing_id(), params)); | 209 channel_->Send(new ViewMsg_Navigate(impl->routing_id(), params)); |
210 message_loop_.Run(); | 210 message_loop_.Run(); |
211 } | 211 } |
212 | 212 |
213 } // namespace content | 213 } // namespace content |
OLD | NEW |