Convert integers to blink::mojom::ConsoleMessageLevel where feasible.

In cases where the code treats the logging level as an int, we
explicitly convert ConsoleMessageLevel-->logging::LogSeverity, to
preserve the current behavior without relying on ConsoleMessageLevel
and logging::LogSeverity enum values being kept in sync.,,,,

Bug: 786836
Change-Id: Ibfa46371d9e1e3b26aff223fc395ea47ce1cc911
Commit-Queue: Lowell Manners <>
Reviewed-by: Daniel Cheng <>
Cr-Commit-Position: refs/heads/master@{#653968}
41 files changed