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/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
11 #include "base/logging.h" | 11 #include "base/logging.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/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "base/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
16 #include "base/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.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" |
(...skipping 3635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3662 } | 3662 } |
3663 | 3663 |
3664 BrowserPluginGuestManager* | 3664 BrowserPluginGuestManager* |
3665 WebContentsImpl::GetBrowserPluginGuestManager() const { | 3665 WebContentsImpl::GetBrowserPluginGuestManager() const { |
3666 return static_cast<BrowserPluginGuestManager*>( | 3666 return static_cast<BrowserPluginGuestManager*>( |
3667 GetBrowserContext()->GetUserData( | 3667 GetBrowserContext()->GetUserData( |
3668 browser_plugin::kBrowserPluginGuestManagerKeyName)); | 3668 browser_plugin::kBrowserPluginGuestManagerKeyName)); |
3669 } | 3669 } |
3670 | 3670 |
3671 } // namespace content | 3671 } // namespace content |
OLD | NEW |