Migrate ash/components/phonehub/ to namespace ash
This CL is part of the Chrome OS source code directory migration:
https://docs.google.com/document/d/1g-98HpzA8XcoGBWUv1gQNr4rbnD5yfvbtYZyPDDbkaE.
Bug: 1164001
Change-Id: I1a357fbb38d6e2d5560ff2c767f9cf12b97681f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3275463
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Owners-Override: Hidehiko Abe <hidehiko@chromium.org>
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Cr-Commit-Position: refs/heads/main@{#941184}
diff --git a/ash/system/phonehub/task_continuation_view.cc b/ash/system/phonehub/task_continuation_view.cc
index f0d1676..9c0c967e 100644
--- a/ash/system/phonehub/task_continuation_view.cc
+++ b/ash/system/phonehub/task_continuation_view.cc
@@ -18,8 +18,6 @@
namespace ash {
-using BrowserTabsModel = chromeos::phonehub::BrowserTabsModel;
-
namespace {
// Appearance constants in dip.
@@ -71,8 +69,8 @@
} // namespace
TaskContinuationView::TaskContinuationView(
- chromeos::phonehub::PhoneModel* phone_model,
- chromeos::phonehub::UserActionRecorder* user_action_recorder)
+ phonehub::PhoneModel* phone_model,
+ phonehub::UserActionRecorder* user_action_recorder)
: phone_model_(phone_model), user_action_recorder_(user_action_recorder) {
SetID(PhoneHubViewID::kTaskContinuationView);
@@ -171,7 +169,7 @@
return;
}
- const BrowserTabsModel& browser_tabs =
+ const phonehub::BrowserTabsModel& browser_tabs =
phone_model_->browser_tabs_model().value();
if (!browser_tabs.is_tab_sync_enabled() ||
@@ -181,7 +179,7 @@
}
int index = 0;
- for (const BrowserTabsModel::BrowserTabMetadata& metadata :
+ for (const phonehub::BrowserTabsModel::BrowserTabMetadata& metadata :
browser_tabs.most_recent_tabs()) {
chips_view_->AddTaskChip(new ContinueBrowsingChip(
metadata, index, browser_tabs.most_recent_tabs().size(),