minidump: Fix InitializeFromSnapshot() comments for module lists.

These classes don’t really have “mutators” other than their singular
AddModule() methods, and the documentation is clearer when revised in
this way.

R=rsesek@chromium.org

Review URL: https://codereview.chromium.org/691853002
This commit is contained in:
Mark Mentovai 2014-10-30 14:51:40 -04:00
parent 4299ab3c4c
commit 45993a6959
2 changed files with 6 additions and 6 deletions

View File

@ -113,9 +113,9 @@ class MinidumpModuleCrashpadInfoListWriter final
//!
//! \param[in] module_snapshots The module snapshots to use as source data.
//!
//! \note Valid in #kStateMutable. No mutator methods may be called before
//! this method, and it is not normally necessary to call any mutator
//! methods after this method.
//! \note Valid in #kStateMutable. AddModule() may not be called before this
//! method, and it is not normally necessary to call AddModule() after
//! this method.
void InitializeFromSnapshot(
const std::vector<const ModuleSnapshot*>& module_snapshots);

View File

@ -320,9 +320,9 @@ class MinidumpModuleListWriter final : public internal::MinidumpStreamWriter {
//!
//! \param[in] module_snapshots The module snapshots to use as source data.
//!
//! \note Valid in #kStateMutable. No mutator methods may be called before
//! this method, and it is not normally necessary to call any mutator
//! methods after this method.
//! \note Valid in #kStateMutable. AddModule() may not be called before this
//! this method, and it is not normally necessary to call AddModule()
//! after this method.
void InitializeFromSnapshot(
const std::vector<const ModuleSnapshot*>& module_snapshots);