1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_TAB_TRACKER_H_
6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_TAB_TRACKER_H_
10 #include "chrome/browser/automation/automation_resource_tracker.h"
13 class NavigationController
;
16 class AutomationTabTracker
17 : public AutomationResourceTracker
<content::NavigationController
*> {
19 explicit AutomationTabTracker(IPC::Sender
* automation
);
20 virtual ~AutomationTabTracker();
22 virtual void AddObserver(content::NavigationController
* resource
);
23 virtual void RemoveObserver(content::NavigationController
* resource
);
25 virtual void Observe(int type
,
26 const content::NotificationSource
& source
,
27 const content::NotificationDetails
& details
);
30 DISALLOW_COPY_AND_ASSIGN(AutomationTabTracker
);
33 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_TAB_TRACKER_H_