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

Unified Diff: base/debug/trace_event_impl.h

Issue 22796009: Shrink trace_event buffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Shrink non-ring-buffer also Created 7 years, 4 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
« no previous file with comments | « no previous file | base/debug/trace_event_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/trace_event_impl.h
diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h
index be1a1049373e3fdc0a1a5b3048fcbd4330a49149..1e9d9cd86928af864e57edec0df768a67f9a7e3e 100644
--- a/base/debug/trace_event_impl.h
+++ b/base/debug/trace_event_impl.h
@@ -150,6 +150,7 @@ class BASE_EXPORT TraceBuffer {
virtual size_t CountEnabledByName(const unsigned char* category,
const std::string& event_name) const = 0;
virtual size_t Size() const = 0;
+ virtual size_t Capacity() const = 0;
virtual const TraceEvent& GetEventAt(size_t index) const = 0;
};
« no previous file with comments | « no previous file | base/debug/trace_event_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698