Commit e17795cf authored by fsamuel's avatar fsamuel Committed by Commit bot

Cleanup BrowserPluginGuestManager

Remove some unnecessary includes, typedefs, and forward declarations.

BUG=none

Review URL: https://codereview.chromium.org/490923006

Cr-Commit-Position: refs/heads/master@{#292318}
parent 7d9f474a
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
#include "content/public/browser/browser_plugin_guest_manager.h" #include "content/public/browser/browser_plugin_guest_manager.h"
#include "base/values.h"
namespace content { namespace content {
WebContents* BrowserPluginGuestManager::GetGuestByInstanceID( WebContents* BrowserPluginGuestManager::GetGuestByInstanceID(
......
...@@ -5,20 +5,11 @@ ...@@ -5,20 +5,11 @@
#ifndef CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_MANAGER_H_ #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_MANAGER_H_
#define CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_MANAGER_H_ #define CONTENT_PUBLIC_BROWSER_BROWSER_PLUGIN_GUEST_MANAGER_H_
#include <string>
#include "base/callback.h" #include "base/callback.h"
#include "content/common/content_export.h" #include "content/common/content_export.h"
class GURL;
namespace base {
class DictionaryValue;
} // namespace base
namespace content { namespace content {
class SiteInstance;
class WebContents; class WebContents;
// A BrowserPluginGuestManager offloads guest management and routing // A BrowserPluginGuestManager offloads guest management and routing
...@@ -27,7 +18,6 @@ class CONTENT_EXPORT BrowserPluginGuestManager { ...@@ -27,7 +18,6 @@ class CONTENT_EXPORT BrowserPluginGuestManager {
public: public:
virtual ~BrowserPluginGuestManager() {} virtual ~BrowserPluginGuestManager() {}
typedef base::Callback<void(WebContents*)> GuestByInstanceIDCallback;
// Requests a guest WebContents associated with the provided // Requests a guest WebContents associated with the provided
// |browser_plugin_instance_id|. // |browser_plugin_instance_id|.
// Returns the guest associated with the provided ID if one exists. // Returns the guest associated with the provided ID if one exists.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment