Breakpad Linux Dumper: Fix up comments in google_breakpad::Module interface.

Use the term "own", since ownership is the concept at work here.

a=jimblandy, r=nealsid


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@468 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
jimblandy 2009-12-23 21:56:41 +00:00
parent c823931376
commit 0468306245

View file

@ -123,20 +123,20 @@ class Module {
void SetLoadAddress(Address load_address); void SetLoadAddress(Address load_address);
// Add FUNCTION to the module. // Add FUNCTION to the module.
// Destroying this module frees all Function objects that have been // This module owns all Function objects added with this function:
// added with this function. // destroying the module destroys them as well.
void AddFunction(Function *function); void AddFunction(Function *function);
// Add all the functions in [BEGIN,END) to the module. // Add all the functions in [BEGIN,END) to the module.
// Destroying this module frees all Function objects that have been // This module owns all Function objects added with this function:
// added with this function. // destroying the module destroys them as well.
void AddFunctions(vector<Function *>::iterator begin, void AddFunctions(vector<Function *>::iterator begin,
vector<Function *>::iterator end); vector<Function *>::iterator end);
// If this module has a file named NAME, return a pointer to it. If // If this module has a file named NAME, return a pointer to it. If
// it has none, then create one and return a pointer to the new // it has none, then create one and return a pointer to the new
// file. Destroying this module frees all File objects that have // file. This module owns all File objects created using these
// been created using this function, or with Insert. // functions; destroying the module destroys them as well.
File *FindFile(const string &name); File *FindFile(const string &name);
File *FindFile(const char *name); File *FindFile(const char *name);