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

Unified Diff: content/common/profiled_stack_state.cc

Issue 1325653003: Type change in StackSamplingProfiler from void* to uintptr_t. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@UMA2_refactor
Patch Set: Addressed wittman's comments. Created 5 years, 3 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: content/common/profiled_stack_state.cc
diff --git a/content/common/profiled_stack_state.cc b/content/common/profiled_stack_state.cc
new file mode 100644
index 0000000000000000000000000000000000000000..18fe2f3b51db3c3eb92c70ec3fbecac8d548e8c0
--- /dev/null
+++ b/content/common/profiled_stack_state.cc
@@ -0,0 +1,25 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/common/profiled_stack_state.h"
+
+namespace content {
+
+ProfiledStackState::ProfiledStackState(
+ content::ProfiledStackState::Trigger trigger,
+ bool preserve_sample_ordering,
+ base::TimeTicks start_timestamp,
+ const base::StackSamplingProfiler::CallStackProfiles& profiles)
+ : trigger(trigger),
+ preserve_sample_ordering(preserve_sample_ordering),
+ start_timestamp(start_timestamp),
+ profiles(profiles) {}
+
+ProfiledStackState::ProfiledStackState()
+ : trigger(content::ProfiledStackState::UNKNOWN),
+ preserve_sample_ordering(false) {}
+
+ProfiledStackState::~ProfiledStackState() {}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698