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_BROWSER_TRACKER_H__
6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_BROWSER_TRACKER_H__
8 #include "chrome/browser/automation/automation_resource_tracker.h"
12 // Tracks Browser objects.
13 class AutomationBrowserTracker
: public AutomationResourceTracker
<Browser
*> {
15 explicit AutomationBrowserTracker(IPC::Sender
* automation
);
16 virtual ~AutomationBrowserTracker();
17 virtual void AddObserver(Browser
* resource
);
18 virtual void RemoveObserver(Browser
* resource
);
21 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_BROWSER_TRACKER_H__