Adding docs, specs and fixing object returned
This commit is contained in:
parent
bef7d5a520
commit
27aad902b8
6 changed files with 54 additions and 38 deletions
|
@ -166,17 +166,6 @@ class App : public AtomBrowserClient::Delegate,
|
|||
DISALLOW_COPY_AND_ASSIGN(App);
|
||||
};
|
||||
|
||||
class AppIdProcessIterator : public base::ProcessIterator {
|
||||
public:
|
||||
AppIdProcessIterator() : base::ProcessIterator(NULL) {}
|
||||
|
||||
protected:
|
||||
bool IncludeEntry() override {
|
||||
return (entry().parent_pid() == base::GetCurrentProcId() ||
|
||||
entry().pid() == base::GetCurrentProcId());
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace api
|
||||
|
||||
} // namespace atom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue