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

Side by Side Diff: chrome/browser/ui/tab_helpers.cc

Issue 2028043002: tracing: restructure to the components/tracing folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/ui/tab_helpers.h" 5 #include "chrome/browser/ui/tab_helpers.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/content_settings/chrome_content_settings_client.h" 10 #include "chrome/browser/content_settings/chrome_content_settings_client.h"
(...skipping 30 matching lines...) Expand all
41 #include "chrome/browser/ui/tab_dialogs.h" 41 #include "chrome/browser/ui/tab_dialogs.h"
42 #include "chrome/common/chrome_switches.h" 42 #include "chrome/common/chrome_switches.h"
43 #include "chrome/common/features.h" 43 #include "chrome/common/features.h"
44 #include "components/autofill/content/browser/content_autofill_driver_factory.h" 44 #include "components/autofill/content/browser/content_autofill_driver_factory.h"
45 #include "components/autofill/core/browser/autofill_manager.h" 45 #include "components/autofill/core/browser/autofill_manager.h"
46 #include "components/dom_distiller/content/browser/web_contents_main_frame_obser ver.h" 46 #include "components/dom_distiller/content/browser/web_contents_main_frame_obser ver.h"
47 #include "components/dom_distiller/core/dom_distiller_switches.h" 47 #include "components/dom_distiller/core/dom_distiller_switches.h"
48 #include "components/history/content/browser/web_contents_top_sites_observer.h" 48 #include "components/history/content/browser/web_contents_top_sites_observer.h"
49 #include "components/history/core/browser/top_sites.h" 49 #include "components/history/core/browser/top_sites.h"
50 #include "components/password_manager/core/browser/password_manager.h" 50 #include "components/password_manager/core/browser/password_manager.h"
51 #include "components/tracing/tracing_switches.h" 51 #include "components/tracing/common/tracing_switches.h"
52 #include "content/public/browser/web_contents.h" 52 #include "content/public/browser/web_contents.h"
53 53
54 #if BUILDFLAG(ANDROID_JAVA_UI) 54 #if BUILDFLAG(ANDROID_JAVA_UI)
55 #include "chrome/browser/android/data_usage/data_use_tab_helper.h" 55 #include "chrome/browser/android/data_usage/data_use_tab_helper.h"
56 #include "chrome/browser/android/offline_pages/offline_page_tab_helper.h" 56 #include "chrome/browser/android/offline_pages/offline_page_tab_helper.h"
57 #include "chrome/browser/android/offline_pages/recent_tab_helper.h" 57 #include "chrome/browser/android/offline_pages/recent_tab_helper.h"
58 #include "chrome/browser/android/voice_search_tab_helper.h" 58 #include "chrome/browser/android/voice_search_tab_helper.h"
59 #include "chrome/browser/android/webapps/single_tab_mode_tab_helper.h" 59 #include "chrome/browser/android/webapps/single_tab_mode_tab_helper.h"
60 #include "chrome/browser/ui/android/context_menu_helper.h" 60 #include "chrome/browser/ui/android/context_menu_helper.h"
61 #include "chrome/browser/ui/android/view_android_helper.h" 61 #include "chrome/browser/ui/android/view_android_helper.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 252
253 if (predictors::ResourcePrefetchPredictorFactory::GetForProfile( 253 if (predictors::ResourcePrefetchPredictorFactory::GetForProfile(
254 web_contents->GetBrowserContext())) { 254 web_contents->GetBrowserContext())) {
255 predictors::ResourcePrefetchPredictorTabHelper::CreateForWebContents( 255 predictors::ResourcePrefetchPredictorTabHelper::CreateForWebContents(
256 web_contents); 256 web_contents);
257 } 257 }
258 258
259 if (tracing::NavigationTracingObserver::IsEnabled()) 259 if (tracing::NavigationTracingObserver::IsEnabled())
260 tracing::NavigationTracingObserver::CreateForWebContents(web_contents); 260 tracing::NavigationTracingObserver::CreateForWebContents(web_contents);
261 } 261 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698