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

Unified Diff: client/crashpad_info.h

Issue 1016613003: Document CrashpadInfo::set_simple_annotations() (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/crashpad_info.h
diff --git a/client/crashpad_info.h b/client/crashpad_info.h
index 2caf7c621aa6cf1085e80af88ac56181c1acda9a..ecd1195bea99b6ce71d233c4ac1d60aecde7128f 100644
--- a/client/crashpad_info.h
+++ b/client/crashpad_info.h
@@ -38,6 +38,20 @@ struct CrashpadInfo {
CrashpadInfo();
+ //! \brief Sets the simple annotations dictionary.
+ //!
+ //! Simple annotations set on a CrashpadInfo structure are interpreted by
+ //! Crashpad as module-level annotations.
+ //!
+ //! Annotations may exist in \a simple_annotations at the time that this
+ //! method is called, or they may be added, removed, or modified in \a
+ //! simple_annotations after this method is called.
+ //!
+ //! \param[in] simple_annotations A dictionary that maps string keys to string
+ //! values. The CrashpadInfo object does not take ownership of the
+ //! SimpleStringDictionary object. It is the caller’s responsibility to
+ //! ensure that this pointer remains valid while it is in effect for a
+ //! CrashpadInfo object.
void set_simple_annotations(SimpleStringDictionary* simple_annotations) {
simple_annotations_ = simple_annotations;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698