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

Unified Diff: chrome/browser/chromeos/offline/offline_load_page_unittest.cc

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « chrome/browser/chromeos/media/media_player.cc ('k') | chrome/browser/chromeos/panels/panel_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/offline/offline_load_page_unittest.cc
===================================================================
--- chrome/browser/chromeos/offline/offline_load_page_unittest.cc (revision 105162)
+++ chrome/browser/chromeos/offline/offline_load_page_unittest.cc (working copy)
@@ -74,7 +74,8 @@
void Navigate(const char* url, int page_id) {
ViewHostMsg_FrameNavigate_Params params;
- InitNavigateParams(&params, page_id, GURL(url), PageTransition::TYPED);
+ InitNavigateParams(
+ &params, page_id, GURL(url), content::PAGE_TRANSITION_TYPED);
contents()->TestDidNavigate(contents()->render_view_host(), params);
}
@@ -110,7 +111,7 @@
// Start a load.
Navigate(kURL1, 1);
// Load next page.
- controller().LoadURL(GURL(kURL2), GURL(), PageTransition::TYPED,
+ controller().LoadURL(GURL(kURL2), GURL(), content::PAGE_TRANSITION_TYPED,
std::string());
// Simulate the load causing an offline browsing interstitial page
@@ -138,7 +139,7 @@
TEST_F(OfflineLoadPageTest, OfflinePageDontProceed) {
// Start a load.
Navigate(kURL1, 1);
- controller().LoadURL(GURL(kURL2), GURL(), PageTransition::TYPED,
+ controller().LoadURL(GURL(kURL2), GURL(), content::PAGE_TRANSITION_TYPED,
std::string());
// Simulate the load causing an offline interstitial page to be shown.
« no previous file with comments | « chrome/browser/chromeos/media/media_player.cc ('k') | chrome/browser/chromeos/panels/panel_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698