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. 4 5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_BROWSER_TRACKER_H__ 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_BROWSER_TRACKER_H__ 7 #pragma once 8 9 #include "chrome/browser/automation/automation_resource_tracker.h" 10 11 class Browser; 12 13 // Tracks Browser objects. 14 class AutomationBrowserTracker : public AutomationResourceTracker<Browser*> { 15 public: 16 explicit AutomationBrowserTracker(IPC::Message::Sender* automation); 17 virtual ~AutomationBrowserTracker(); 18 virtual void AddObserver(Browser* resource); 19 virtual void RemoveObserver(Browser* resource); 20 }; 21 22 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_BROWSER_TRACKER_H__ 23