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/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
11 #include "base/lazy_instance.h" | 11 #include "base/lazy_instance.h" |
12 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
13 #include "base/metrics/stats_counters.h" | 13 #include "base/metrics/stats_counters.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
16 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
17 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
18 #include "base/sys_info.h" | 18 #include "base/sys_info.h" |
19 #include "base/time.h" | 19 #include "base/time/time.h" |
20 #include "cc/base/switches.h" | 20 #include "cc/base/switches.h" |
21 #include "content/browser/browser_plugin/browser_plugin_embedder.h" | 21 #include "content/browser/browser_plugin/browser_plugin_embedder.h" |
22 #include "content/browser/browser_plugin/browser_plugin_guest.h" | 22 #include "content/browser/browser_plugin/browser_plugin_guest.h" |
23 #include "content/browser/browser_plugin/browser_plugin_guest_manager.h" | 23 #include "content/browser/browser_plugin/browser_plugin_guest_manager.h" |
24 #include "content/browser/child_process_security_policy_impl.h" | 24 #include "content/browser/child_process_security_policy_impl.h" |
25 #include "content/browser/devtools/devtools_manager_impl.h" | 25 #include "content/browser/devtools/devtools_manager_impl.h" |
26 #include "content/browser/dom_storage/dom_storage_context_impl.h" | 26 #include "content/browser/dom_storage/dom_storage_context_impl.h" |
27 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 27 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
28 #include "content/browser/download/download_stats.h" | 28 #include "content/browser/download/download_stats.h" |
29 #include "content/browser/download/mhtml_generation_manager.h" | 29 #include "content/browser/download/mhtml_generation_manager.h" |
(...skipping 3649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3679 } | 3679 } |
3680 | 3680 |
3681 BrowserPluginGuestManager* | 3681 BrowserPluginGuestManager* |
3682 WebContentsImpl::GetBrowserPluginGuestManager() const { | 3682 WebContentsImpl::GetBrowserPluginGuestManager() const { |
3683 return static_cast<BrowserPluginGuestManager*>( | 3683 return static_cast<BrowserPluginGuestManager*>( |
3684 GetBrowserContext()->GetUserData( | 3684 GetBrowserContext()->GetUserData( |
3685 browser_plugin::kBrowserPluginGuestManagerKeyName)); | 3685 browser_plugin::kBrowserPluginGuestManagerKeyName)); |
3686 } | 3686 } |
3687 | 3687 |
3688 } // namespace content | 3688 } // namespace content |
OLD | NEW |