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

Side by Side Diff: chrome/browser/android/tab_android.cc

Issue 877323002: Mechanical rename of tracing includes for /chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "chrome/browser/android/tab_android.h" 5 #include "chrome/browser/android/tab_android.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_array.h" 8 #include "base/android/jni_array.h"
9 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
10 #include "base/debug/trace_event.h"
11 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "base/trace_event/trace_event.h"
12 #include "chrome/browser/android/chrome_web_contents_delegate_android.h" 12 #include "chrome/browser/android/chrome_web_contents_delegate_android.h"
13 #include "chrome/browser/android/uma_utils.h" 13 #include "chrome/browser/android/uma_utils.h"
14 #include "chrome/browser/browser_about_handler.h" 14 #include "chrome/browser/browser_about_handler.h"
15 #include "chrome/browser/chrome_notification_types.h" 15 #include "chrome/browser/chrome_notification_types.h"
16 #include "chrome/browser/content_settings/tab_specific_content_settings.h" 16 #include "chrome/browser/content_settings/tab_specific_content_settings.h"
17 #include "chrome/browser/favicon/favicon_tab_helper.h" 17 #include "chrome/browser/favicon/favicon_tab_helper.h"
18 #include "chrome/browser/infobars/infobar_service.h" 18 #include "chrome/browser/infobars/infobar_service.h"
19 #include "chrome/browser/prerender/prerender_contents.h" 19 #include "chrome/browser/prerender/prerender_contents.h"
20 #include "chrome/browser/prerender/prerender_manager.h" 20 #include "chrome/browser/prerender/prerender_manager.h"
21 #include "chrome/browser/prerender/prerender_manager_factory.h" 21 #include "chrome/browser/prerender/prerender_manager_factory.h"
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 // s^{n+1} / s^{n} = 2100 / 2000 761 // s^{n+1} / s^{n} = 2100 / 2000
762 // s = 1.05 762 // s = 1.05
763 // s^b = 60000 763 // s^b = 60000
764 // b = ln(60000) / ln(1.05) ~= 225 764 // b = ln(60000) / ln(1.05) ~= 225
765 UMA_HISTOGRAM_CUSTOM_TIMES("Startup.FirstCommitNavigationTime", 765 UMA_HISTOGRAM_CUSTOM_TIMES("Startup.FirstCommitNavigationTime",
766 base::Time::Now() - chrome::android::GetMainEntryPointTime(), 766 base::Time::Now() - chrome::android::GetMainEntryPointTime(),
767 base::TimeDelta::FromMilliseconds(1), 767 base::TimeDelta::FromMilliseconds(1),
768 base::TimeDelta::FromMinutes(1), 768 base::TimeDelta::FromMinutes(1),
769 225); 769 225);
770 } 770 }
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698