Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / automation / automation_browser_tracker.h
blob1c7d501ea2c76f16fd3f9814f93af3436b1dc4d2
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"
10 class Browser;
12 // Tracks Browser objects.
13 class AutomationBrowserTracker : public AutomationResourceTracker<Browser*> {
14 public:
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__