summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_tab_tracker.h
diff options
context:
space:
mode:
authordsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-27 20:43:33 +0000
committerdsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-27 20:43:33 +0000
commite1acf6f902e50222baf99bfb492ecc38a1604975 (patch)
tree503d45705b14be7e2f1ed86c71d6064abbf90fbe /chrome/browser/automation/automation_tab_tracker.h
parenta2f5993e1ce940e8a8eec900abaeed02e2eee09b (diff)
downloadchromium_src-e1acf6f902e50222baf99bfb492ecc38a1604975.zip
chromium_src-e1acf6f902e50222baf99bfb492ecc38a1604975.tar.gz
chromium_src-e1acf6f902e50222baf99bfb492ecc38a1604975.tar.bz2
Move Time, TimeDelta and TimeTicks into namespace base.
Review URL: http://codereview.chromium.org/7995 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4022 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_tab_tracker.h')
-rw-r--r--chrome/browser/automation/automation_tab_tracker.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/automation/automation_tab_tracker.h b/chrome/browser/automation/automation_tab_tracker.h
index bb9ac24..9e0c63c 100644
--- a/chrome/browser/automation/automation_tab_tracker.h
+++ b/chrome/browser/automation/automation_tab_tracker.h
@@ -52,11 +52,11 @@ public:
switch (type) {
case NOTIFY_NAV_ENTRY_COMMITTED:
last_navigation_times_[Source<NavigationController>(source).ptr()] =
- Time::Now();
+ base::Time::Now();
return;
case NOTIFY_EXTERNAL_TAB_CLOSED:
case NOTIFY_TAB_CLOSING:
- std::map<NavigationController*, Time>::iterator iter =
+ std::map<NavigationController*, base::Time>::iterator iter =
last_navigation_times_.find(
Source<NavigationController>(source).ptr());
if (iter != last_navigation_times_.end())
@@ -66,22 +66,22 @@ public:
AutomationResourceTracker::Observe(type, source, details);
}
- Time GetLastNavigationTime(int handle) {
+ base::Time GetLastNavigationTime(int handle) {
if (ContainsHandle(handle)) {
NavigationController* controller = GetResource(handle);
if (controller) {
- std::map<NavigationController*, Time>::const_iterator iter =
+ std::map<NavigationController*, base::Time>::const_iterator iter =
last_navigation_times_.find(controller);
if (iter != last_navigation_times_.end())
return iter->second;
}
}
- return Time();
+ return base::Time();
}
private:
// Last time a navigation occurred.
- std::map<NavigationController*, Time> last_navigation_times_;
+ std::map<NavigationController*, base::Time> last_navigation_times_;
DISALLOW_COPY_AND_ASSIGN(AutomationTabTracker);
};