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

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

Issue 10388175: Remove all the unnused automation IPCs. These were used by UI tests that have been converted to bro… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 10 matching lines...) Expand all
21 explicit AutomationTabTracker(IPC::Message::Sender* automation); 21 explicit AutomationTabTracker(IPC::Message::Sender* automation);
22 virtual ~AutomationTabTracker(); 22 virtual ~AutomationTabTracker();
23 23
24 virtual void AddObserver(content::NavigationController* resource); 24 virtual void AddObserver(content::NavigationController* resource);
25 virtual void RemoveObserver(content::NavigationController* resource); 25 virtual void RemoveObserver(content::NavigationController* resource);
26 26
27 virtual void Observe(int type, 27 virtual void Observe(int type,
28 const content::NotificationSource& source, 28 const content::NotificationSource& source,
29 const content::NotificationDetails& details); 29 const content::NotificationDetails& details);
30 30
31 base::Time GetLastNavigationTime(int handle);
32
33 private: 31 private:
34 // Last time a navigation occurred.
35 std::map<content::NavigationController*, base::Time> last_navigation_times_;
36
37 DISALLOW_COPY_AND_ASSIGN(AutomationTabTracker); 32 DISALLOW_COPY_AND_ASSIGN(AutomationTabTracker);
38 }; 33 };
39 34
40 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_TAB_TRACKER_H_ 35 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_TAB_TRACKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_resource_message_filter.cc ('k') | chrome/browser/automation/automation_tab_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698