OLD | NEW |
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 "chrome/browser/browser_process.h" | 8 #include "chrome/browser/browser_process.h" |
9 #include "chrome/browser/content_settings/chrome_content_settings_client.h" | 9 #include "chrome/browser/content_settings/chrome_content_settings_client.h" |
10 #include "chrome/browser/content_settings/tab_specific_content_settings.h" | 10 #include "chrome/browser/content_settings/tab_specific_content_settings.h" |
11 #include "chrome/browser/engagement/site_engagement_helper.h" | 11 #include "chrome/browser/engagement/site_engagement_helper.h" |
12 #include "chrome/browser/engagement/site_engagement_service.h" | 12 #include "chrome/browser/engagement/site_engagement_service.h" |
13 #include "chrome/browser/external_protocol/external_protocol_observer.h" | 13 #include "chrome/browser/external_protocol/external_protocol_observer.h" |
14 #include "chrome/browser/favicon/favicon_helper.h" | 14 #include "chrome/browser/favicon/favicon_utils.h" |
15 #include "chrome/browser/history/history_tab_helper.h" | 15 #include "chrome/browser/history/history_tab_helper.h" |
16 #include "chrome/browser/history/top_sites_factory.h" | 16 #include "chrome/browser/history/top_sites_factory.h" |
17 #include "chrome/browser/infobars/infobar_service.h" | 17 #include "chrome/browser/infobars/infobar_service.h" |
18 #include "chrome/browser/net/net_error_tab_helper.h" | 18 #include "chrome/browser/net/net_error_tab_helper.h" |
19 #include "chrome/browser/net/predictor_tab_helper.h" | 19 #include "chrome/browser/net/predictor_tab_helper.h" |
20 #include "chrome/browser/password_manager/chrome_password_manager_client.h" | 20 #include "chrome/browser/password_manager/chrome_password_manager_client.h" |
21 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" | 21 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" |
22 #include "chrome/browser/predictors/resource_prefetch_predictor_tab_helper.h" | 22 #include "chrome/browser/predictors/resource_prefetch_predictor_tab_helper.h" |
23 #include "chrome/browser/prerender/prerender_tab_helper.h" | 23 #include "chrome/browser/prerender/prerender_tab_helper.h" |
24 #include "chrome/browser/profiles/profile.h" | 24 #include "chrome/browser/profiles/profile.h" |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 web_contents); | 240 web_contents); |
241 } | 241 } |
242 | 242 |
243 if (base::CommandLine::ForCurrentProcess()->HasSwitch( | 243 if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
244 switches::kEnableNavigationTracing) && | 244 switches::kEnableNavigationTracing) && |
245 base::CommandLine::ForCurrentProcess()->HasSwitch( | 245 base::CommandLine::ForCurrentProcess()->HasSwitch( |
246 switches::kTraceUploadURL)) { | 246 switches::kTraceUploadURL)) { |
247 tracing::NavigationTracingObserver::CreateForWebContents(web_contents); | 247 tracing::NavigationTracingObserver::CreateForWebContents(web_contents); |
248 } | 248 } |
249 } | 249 } |
OLD | NEW |