Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Unified Diff: components/arc/metrics/arc_metrics_service.cc

Issue 1885683005: Add module suffix in .mojom files for components/arc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/metrics/arc_metrics_service.h ('k') | components/arc/net/arc_net_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/metrics/arc_metrics_service.cc
diff --git a/components/arc/metrics/arc_metrics_service.cc b/components/arc/metrics/arc_metrics_service.cc
index 239d92ed6a4348aa12c7b48040c80eaa7d5b7f0a..0a3650cd60ec56bb84887b8d7833dc00ef383ce4 100644
--- a/components/arc/metrics/arc_metrics_service.cc
+++ b/components/arc/metrics/arc_metrics_service.cc
@@ -49,7 +49,7 @@ void ArcMetricsService::OnProcessInstanceClosed() {
}
void ArcMetricsService::RequestProcessList() {
- ProcessInstance* process_instance =
+ mojom::ProcessInstance* process_instance =
arc_bridge_service()->process_instance();
if (!process_instance) {
LOG(ERROR) << "No process instance found before RequestProcessList";
@@ -63,11 +63,11 @@ void ArcMetricsService::RequestProcessList() {
}
void ArcMetricsService::ParseProcessList(
- mojo::Array<arc::RunningAppProcessInfoPtr> processes) {
+ mojo::Array<arc::mojom::RunningAppProcessInfoPtr> processes) {
int running_app_count = 0;
for (const auto& process : processes) {
const mojo::String& process_name = process->process_name;
- const ProcessState& process_state = process->process_state;
+ const mojom::ProcessState& process_state = process->process_state;
// Processes like the ARC launcher and intent helper are always running
// and not counted as apps running by users. With the same reasoning,
@@ -78,7 +78,7 @@ void ArcMetricsService::ParseProcessList(
base::CompareCase::SENSITIVE) ||
base::StartsWith(process_name.get(), kGmsProcessNamePrefix,
base::CompareCase::SENSITIVE) ||
- process_state != ProcessState::TOP) {
+ process_state != mojom::ProcessState::TOP) {
VLOG(2) << "Skipped " << process_name << " " << process_state;
} else {
++running_app_count;
« no previous file with comments | « components/arc/metrics/arc_metrics_service.h ('k') | components/arc/net/arc_net_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698