Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: chrome/browser/automation/automation_tab_tracker.h

Issue 11087021: Cleanup: IWYU for base/time.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/tracked_objects.h ('k') | chrome/browser/browsing_data/browsing_data_file_system_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_TAB_TRACKER_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_TAB_TRACKER_H_
6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_TAB_TRACKER_H_ 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_TAB_TRACKER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/time.h"
11 #include "chrome/browser/automation/automation_resource_tracker.h" 10 #include "chrome/browser/automation/automation_resource_tracker.h"
12 11
13 namespace content { 12 namespace content {
14 class NavigationController; 13 class NavigationController;
15 } 14 }
16 15
17 class AutomationTabTracker 16 class AutomationTabTracker
18 : public AutomationResourceTracker<content::NavigationController*> { 17 : public AutomationResourceTracker<content::NavigationController*> {
19 public: 18 public:
20 explicit AutomationTabTracker(IPC::Sender* automation); 19 explicit AutomationTabTracker(IPC::Sender* automation);
21 virtual ~AutomationTabTracker(); 20 virtual ~AutomationTabTracker();
22 21
23 virtual void AddObserver(content::NavigationController* resource); 22 virtual void AddObserver(content::NavigationController* resource);
24 virtual void RemoveObserver(content::NavigationController* resource); 23 virtual void RemoveObserver(content::NavigationController* resource);
25 24
26 virtual void Observe(int type, 25 virtual void Observe(int type,
27 const content::NotificationSource& source, 26 const content::NotificationSource& source,
28 const content::NotificationDetails& details); 27 const content::NotificationDetails& details);
29 28
30 private: 29 private:
31 DISALLOW_COPY_AND_ASSIGN(AutomationTabTracker); 30 DISALLOW_COPY_AND_ASSIGN(AutomationTabTracker);
32 }; 31 };
33 32
34 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_TAB_TRACKER_H_ 33 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_TAB_TRACKER_H_
OLDNEW
« no previous file with comments | « base/tracked_objects.h ('k') | chrome/browser/browsing_data/browsing_data_file_system_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698