Index: chrome/browser/automation/automation_provider_observers.h |
diff --git a/chrome/browser/automation/automation_provider_observers.h b/chrome/browser/automation/automation_provider_observers.h |
index 142fdbb3242bfd2417115bc5660cb7bc95238d9d..29f5d274659db8d169a36ee4ee32fc07a701acb4 100644 |
--- a/chrome/browser/automation/automation_provider_observers.h |
+++ b/chrome/browser/automation/automation_provider_observers.h |
@@ -62,7 +62,6 @@ class InfoBarTabHelper; |
class Notification; |
class Profile; |
class SavePackage; |
-class TabContents; |
namespace automation { |
class Error; |
@@ -75,10 +74,6 @@ class WizardScreen; |
} |
#endif // defined(OS_CHROMEOS) |
-namespace IPC { |
-class Message; |
-} |
- |
namespace content { |
class NavigationController; |
class RenderViewHost; |
@@ -93,6 +88,10 @@ namespace history { |
class TopSites; |
} |
+namespace IPC { |
+class Message; |
+} |
+ |
namespace policy { |
class BrowserPolicyConnector; |
} |
@@ -658,7 +657,7 @@ class InfoBarCountObserver : public content::NotificationObserver { |
public: |
InfoBarCountObserver(AutomationProvider* automation, |
IPC::Message* reply_message, |
- TabContents* tab_contents, |
+ content::WebContents* web_contents, |
size_t target_count); |
virtual ~InfoBarCountObserver(); |
@@ -675,7 +674,7 @@ class InfoBarCountObserver : public content::NotificationObserver { |
content::NotificationRegistrar registrar_; |
base::WeakPtr<AutomationProvider> automation_; |
scoped_ptr<IPC::Message> reply_message_; |
- TabContents* tab_contents_; |
+ content::WebContents* web_contents_; |
const size_t target_count_; |
@@ -1270,7 +1269,7 @@ class PageSnapshotTaker : public TabEventObserver, |
public: |
PageSnapshotTaker(AutomationProvider* automation, |
IPC::Message* reply_message, |
- TabContents* tab_contents, |
+ content::WebContents* web_contents, |
const FilePath& path); |
virtual ~PageSnapshotTaker(); |
@@ -1294,7 +1293,7 @@ class PageSnapshotTaker : public TabEventObserver, |
base::WeakPtr<AutomationProvider> automation_; |
scoped_ptr<IPC::Message> reply_message_; |
- TabContents* tab_contents_; |
+ content::WebContents* web_contents_; |
FilePath image_path_; |
content::NotificationRegistrar registrar_; |