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 123e01f96d
commit f7b38a9dd9
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. //! \param[in] module_snapshots The module snapshots to use as source data.
//! //!
//! \note Valid in #kStateMutable. No mutator methods may be called before //! \note Valid in #kStateMutable. AddModule() may not be called before this
//! this method, and it is not normally necessary to call any mutator //! method, and it is not normally necessary to call AddModule() after
//! methods after this method. //! this method.
void InitializeFromSnapshot( void InitializeFromSnapshot(
const std::vector<const ModuleSnapshot*>& module_snapshots); 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. //! \param[in] module_snapshots The module snapshots to use as source data.
//! //!
//! \note Valid in #kStateMutable. No mutator methods may be called before //! \note Valid in #kStateMutable. AddModule() may not be called before this
//! this method, and it is not normally necessary to call any mutator //! this method, and it is not normally necessary to call AddModule()
//! methods after this method. //! after this method.
void InitializeFromSnapshot( void InitializeFromSnapshot(
const std::vector<const ModuleSnapshot*>& module_snapshots); const std::vector<const ModuleSnapshot*>& module_snapshots);