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

Unified Diff: base/tracked_objects.h

Issue 1640223002: profiler: cleanup unused alternate_timer code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: base/tracked_objects.h
diff --git a/base/tracked_objects.h b/base/tracked_objects.h
index 1a00ec0be05ec5e999abb52d5de74ef4fe609564..8f44f16a840422d9e326af38d9c32b72741c6f9e 100644
--- a/base/tracked_objects.h
+++ b/base/tracked_objects.h
@@ -22,7 +22,6 @@
#include "base/location.h"
#include "base/macros.h"
#include "base/process/process_handle.h"
-#include "base/profiler/alternate_timer.h"
#include "base/profiler/tracked_time.h"
#include "base/synchronization/lock.h"
#include "base/threading/thread_checker.h"
@@ -446,6 +445,7 @@ class BASE_EXPORT ThreadData {
STATUS_LAST = PROFILING_ACTIVE
};
+ typedef unsigned int NowFunction(); // Type for an alternate timer function.
Ilya Sherman 2016/01/28 01:36:47 Why is this needed?
Primiano Tucci (use gerrit) 2016/01/28 10:46:36 This was previously in alternate_timer.h, which I
Ilya Sherman 2016/01/29 01:23:14 Is it just used for testing? If so, let's not exp
Primiano Tucci (use gerrit) 2016/02/01 13:34:19 Good point. Just testing. Done.
typedef base::hash_map<Location, Births*, Location::Hash> BirthMap;
typedef std::map<const Births*, DeathData> DeathMap;

Powered by Google App Engine
This is Rietveld 408576698