Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
std::optional<ProcessMemoryDumpOutcome> captured_outcome;
Optional nit: while you're changing this, it could use TestFuture:
```
TestFuture<ProcessMemoryDumpOutcome, uint64_t,
std::unique_ptr<ProcessMemoryDump>> future;
mdb->CreateProcessDump(request_args, future.GetSequenceBoundCallback());
ASSERT_TRUE(future.Wait());
EXPECT_EQ(future.Get<uint64_t>(), test_guid);
return future.Get<ProcessMemoryDumpOutcome>();
```
run_loop.QuitClosure()));
Optional nit: this could be simplified with TestFuture.
EXPECT_EQ(outcome, mojom::MemoryDumpRequestOutcome::kSuccess);
Nit: this isn't needed because EXPECT_CALL already matches only `outcome == kSuccess`.
return captured_outcome.value();
Optional nit: this could be simplified further with TestFuture.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
memory_instrumentation::mojom::MemoryDumpRequestOutcome outcome,
Nit: how about adding `kMemoryInstrumentationNotAvailable` to `outcome`, so this doesn't need to change?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Outdated Votes:
Code-Review+1 by Joe Mason (copy condition: "changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE OR (has:unchanged-files AND **uploaderin:cria/project-chromium-committers**) OR is:MIN")
If I'm reading the bolded part (which was in the original message) the account you uploaded with isn't in chromium-committers for some reason?