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

Unified Diff: base/trace_event/trace_log.cc

Issue 1835303002: Implementation of the GreenWeb language extensions. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change GreenWeb-related CSS property names such that they apply in the desired order at runtime. Created 4 years, 9 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 | « base/trace_event/trace_log.h ('k') | cc/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/trace_log.cc
diff --git a/base/trace_event/trace_log.cc b/base/trace_event/trace_log.cc
index d5a02dd8a010a7c147cd67420433d04ab5044c7a..572217e5bbbb48f1647cec65c6f54df19248f1da 100644
--- a/base/trace_event/trace_log.cc
+++ b/base/trace_event/trace_log.cc
@@ -1609,6 +1609,11 @@ void TraceLog::SetProcessName(const std::string& process_name) {
process_name_ = process_name;
}
+std::string TraceLog::GetProcessName() {
+ AutoLock lock(lock_);
+ return process_name_;
+}
+
void TraceLog::UpdateProcessLabel(int label_id,
const std::string& current_label) {
if (!current_label.length())
« no previous file with comments | « base/trace_event/trace_log.h ('k') | cc/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698