diff options
Diffstat (limited to 'chrome/browser/automation/automation_util.h')
-rw-r--r-- | chrome/browser/automation/automation_util.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/automation/automation_util.h b/chrome/browser/automation/automation_util.h index c33fd72..942a08b 100644 --- a/chrome/browser/automation/automation_util.h +++ b/chrome/browser/automation/automation_util.h @@ -13,7 +13,6 @@ class AutomationId; class AutomationProvider; class Browser; -class Extension; class GURL; class Profile; class TabContentsWrapper; @@ -27,6 +26,10 @@ namespace base { class DictionaryValue; } +namespace extensions { +class Extension; +} + namespace IPC { class Message; } @@ -96,7 +99,7 @@ AutomationId GetIdForExtensionView( const content::RenderViewHost* render_view_host); // Returns a valid automation ID for the extension. -AutomationId GetIdForExtension(const Extension* extension); +AutomationId GetIdForExtension(const extensions::Extension* extension); // Gets the tab for the given ID. Returns true on success. bool GetTabForId(const AutomationId& id, content::WebContents** tab); @@ -109,7 +112,7 @@ bool GetRenderViewForId(const AutomationId& id, // Gets the extension for the given ID. Returns true on success. bool GetExtensionForId(const AutomationId& id, Profile* profile, - const Extension** extension); + const extensions::Extension** extension); // Returns whether the given ID refers to an actual automation entity. bool DoesObjectWithIdExist(const AutomationId& id, Profile* profile); |