From 95d9e253aeb47ef0004edc29c9a8c442106b9488 Mon Sep 17 00:00:00 2001 From: "rogerta@chromium.org" Date: Fri, 2 Sep 2011 01:32:07 +0000 Subject: When the user navigates to the home page, make sure to set the RLZ string if needed. John: can you plase look at the content\... changes? Scott: can you plase look at the chrome\... changes? BUG=0 TEST=Install an official chrome build (not a chromium build) with a non organic brand code. During the install, make sure to choose google as the home page. When google is running, pressing the home page button should cause the request to include the RLZ http header. Pressed Alt-Home should do the samer thing. When starting chrome, the RLZ header should also be present since the startup page is the home page, and the home page is set to google. Navigating to the google.com manually by typing the URL or by clicking on a link should not cause the hrrp header to be added. Not choosing google as the home during install, or changing the home page to be something other than google should stop the http header from being added. This is true is even if the user subsequently set his home page to google again. Review URL: http://codereview.chromium.org/7791029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99283 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/sessions/session_types.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/browser/sessions') diff --git a/chrome/browser/sessions/session_types.cc b/chrome/browser/sessions/session_types.cc index c1f1c28..086eb3e 100644 --- a/chrome/browser/sessions/session_types.cc +++ b/chrome/browser/sessions/session_types.cc @@ -66,6 +66,8 @@ NavigationEntry* TabNavigation::ToNavigationEntry(int page_id, // Use a transition type of reload so that we don't incorrectly // increase the typed count. PageTransition::RELOAD, + // The extra headers are not sync'ed across sessions. + std::string(), profile); entry->set_page_id(page_id); -- cgit v1.1