| Index: chrome/browser/ui/search/search_tab_helper.cc
 | 
| diff --git a/chrome/browser/ui/search/search_tab_helper.cc b/chrome/browser/ui/search/search_tab_helper.cc
 | 
| index 178765367654ace2b1a8a30ff9d7983a54af97a5..7237c696e4a5ab299310430fc2a930793b7d77a9 100644
 | 
| --- a/chrome/browser/ui/search/search_tab_helper.cc
 | 
| +++ b/chrome/browser/ui/search/search_tab_helper.cc
 | 
| @@ -31,6 +31,7 @@
 | 
|  #include "chrome/browser/ui/tab_contents/core_tab_helper.h"
 | 
|  #include "chrome/browser/ui/webui/ntp/ntp_user_data_logger.h"
 | 
|  #include "chrome/common/url_constants.h"
 | 
| +#include "components/google/core/browser/google_util.h"
 | 
|  #include "components/search/search.h"
 | 
|  #include "components/signin/core/browser/signin_manager.h"
 | 
|  #include "content/public/browser/navigation_controller.h"
 | 
| @@ -120,7 +121,18 @@ void RecordNewTabLoadTime(content::WebContents* contents) {
 | 
|  
 | 
|    base::TimeDelta duration =
 | 
|        base::TimeTicks::Now() - core_tab_helper->new_tab_start_time();
 | 
| -  UMA_HISTOGRAM_TIMES("Tab.NewTabOnload", duration);
 | 
| +  if (IsCacheableNTP(contents)) {
 | 
| +    if (google_util::IsGoogleDomainUrl(
 | 
| +        contents->GetController().GetLastCommittedEntry()->GetURL(),
 | 
| +        google_util::ALLOW_SUBDOMAIN,
 | 
| +        google_util::DISALLOW_NON_STANDARD_PORTS)) {
 | 
| +      UMA_HISTOGRAM_TIMES("Tab.NewTabOnload.Google", duration);
 | 
| +    } else {
 | 
| +      UMA_HISTOGRAM_TIMES("Tab.NewTabOnload.Other", duration);
 | 
| +    }
 | 
| +  } else {
 | 
| +    UMA_HISTOGRAM_TIMES("Tab.NewTabOnload.Local", duration);
 | 
| +  }
 | 
|    core_tab_helper->set_new_tab_start_time(base::TimeTicks());
 | 
|  }
 | 
|  
 | 
| 
 |