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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 8429009: Enable tracking of objects by default (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 | « base/tracking_info.cc ('k') | chrome/browser/chrome_browser_main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler.cc
===================================================================
--- chrome/browser/browser_about_handler.cc (revision 107970)
+++ chrome/browser/browser_about_handler.cc (working copy)
@@ -145,11 +145,9 @@
chrome::kChromeUITCMallocHost,
chrome::kChromeUITermsHost,
chrome::kChromeUITracingHost,
+ chrome::kChromeUITrackingHost,
chrome::kChromeUIVersionHost,
chrome::kChromeUIWorkersHost,
-#if defined(TRACK_ALL_TASK_OBJECTS)
- chrome::kChromeUITrackingHost,
-#endif
#if defined(OS_WIN)
chrome::kChromeUIConflictsHost,
#endif
@@ -184,10 +182,8 @@
chrome::kChromeUIStatsHost,
chrome::kChromeUITaskManagerHost,
chrome::kChromeUITermsHost,
- chrome::kChromeUIVersionHost,
-#if defined(TRACK_ALL_TASK_OBJECTS)
chrome::kChromeUITrackingHost,
-#endif
+ chrome::kChromeUIVersionHost,
#if defined(USE_TCMALLOC)
chrome::kChromeUITCMallocHost,
#endif
@@ -889,7 +885,6 @@
}
}
-#if defined(TRACK_ALL_TASK_OBJECTS)
static std::string AboutTracking(const std::string& query) {
std::string unescaped_title("About Tracking");
if (!query.empty()) {
@@ -903,7 +898,6 @@
AppendFooter(&data);
return data;
}
-#endif // TRACK_ALL_TASK_OBJECTS
// Handler for filling in the "about:stats" page, as called by the browser's
// About handler processing.
@@ -1474,10 +1468,8 @@
#endif
} else if (host == chrome::kChromeUIStatsHost) {
response = AboutStats(path);
-#if defined(TRACK_ALL_TASK_OBJECTS)
} else if (host == chrome::kChromeUITrackingHost) {
response = AboutTracking(path);
-#endif
#if defined(USE_TCMALLOC)
} else if (host == chrome::kChromeUITCMallocHost) {
response = AboutTcmalloc();
« no previous file with comments | « base/tracking_info.cc ('k') | chrome/browser/chrome_browser_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698