OLD | NEW |
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 "content/browser/web_contents/web_contents_impl.h" | 5 #include "content/browser/web_contents/web_contents_impl.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
11 #include "base/metrics/stats_counters.h" | 11 #include "base/metrics/stats_counters.h" |
12 #include "base/string16.h" | 12 #include "base/string16.h" |
13 #include "base/string_number_conversions.h" | 13 #include "base/string_number_conversions.h" |
14 #include "base/string_util.h" | 14 #include "base/string_util.h" |
15 #include "base/sys_info.h" | 15 #include "base/sys_info.h" |
16 #include "base/time.h" | 16 #include "base/time.h" |
17 #include "base/utf_string_conversions.h" | 17 #include "base/utf_string_conversions.h" |
18 #include "cc/switches.h" | 18 #include "cc/base/switches.h" |
19 #include "content/browser/browser_plugin/browser_plugin_embedder.h" | 19 #include "content/browser/browser_plugin/browser_plugin_embedder.h" |
20 #include "content/browser/browser_plugin/browser_plugin_guest.h" | 20 #include "content/browser/browser_plugin/browser_plugin_guest.h" |
21 #include "content/browser/browser_plugin/browser_plugin_guest_manager.h" | 21 #include "content/browser/browser_plugin/browser_plugin_guest_manager.h" |
22 #include "content/browser/child_process_security_policy_impl.h" | 22 #include "content/browser/child_process_security_policy_impl.h" |
23 #include "content/browser/devtools/devtools_manager_impl.h" | 23 #include "content/browser/devtools/devtools_manager_impl.h" |
24 #include "content/browser/dom_storage/dom_storage_context_impl.h" | 24 #include "content/browser/dom_storage/dom_storage_context_impl.h" |
25 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 25 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
26 #include "content/browser/download/download_stats.h" | 26 #include "content/browser/download/download_stats.h" |
27 #include "content/browser/download/mhtml_generation_manager.h" | 27 #include "content/browser/download/mhtml_generation_manager.h" |
28 #include "content/browser/download/save_package.h" | 28 #include "content/browser/download/save_package.h" |
(...skipping 3497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3526 } | 3526 } |
3527 | 3527 |
3528 BrowserPluginGuestManager* | 3528 BrowserPluginGuestManager* |
3529 WebContentsImpl::GetBrowserPluginGuestManager() const { | 3529 WebContentsImpl::GetBrowserPluginGuestManager() const { |
3530 return static_cast<BrowserPluginGuestManager*>( | 3530 return static_cast<BrowserPluginGuestManager*>( |
3531 GetBrowserContext()->GetUserData( | 3531 GetBrowserContext()->GetUserData( |
3532 browser_plugin::kBrowserPluginGuestManagerKeyName)); | 3532 browser_plugin::kBrowserPluginGuestManagerKeyName)); |
3533 } | 3533 } |
3534 | 3534 |
3535 } // namespace content | 3535 } // namespace content |
OLD | NEW |