Index: chrome/browser/automation/automation_util.h |
diff --git a/chrome/browser/automation/automation_util.h b/chrome/browser/automation/automation_util.h |
index c33fd72607285d3d6c553af871776e2062a15f5f..942a08b4959cd00e0f7f69fa3751710e3e42d198 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); |