Commit 6ac7a77e authored by Xiaohui Chen's avatar Xiaohui Chen Committed by Commit Bot

assistant: prepare for deprecating assistant.mojom

This CL removes one of the internal dependency on the public mojom type.

Bug: b:154268518
Change-Id: I68d87c91331cb0347ff0fa23fbb02fe22500f490
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2250167Reviewed-by: default avatarJeroen Dhollander <jeroendh@google.com>
Commit-Queue: Xiaohui Chen <xiaohuic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#779893}
parent deeffeaf
...@@ -1331,7 +1331,7 @@ void AssistantManagerServiceImpl::ResumeTimer(const std::string& id) { ...@@ -1331,7 +1331,7 @@ void AssistantManagerServiceImpl::ResumeTimer(const std::string& id) {
void AssistantManagerServiceImpl::NotifyEntryIntoAssistantUi( void AssistantManagerServiceImpl::NotifyEntryIntoAssistantUi(
mojom::AssistantEntryPoint entry_point) { mojom::AssistantEntryPoint entry_point) {
base::AutoLock lock(last_trigger_source_lock_); base::AutoLock lock(last_trigger_source_lock_);
last_trigger_source_ = ToTriggerSource(entry_point); last_trigger_source_ = ToTriggerSource(static_cast<int>(entry_point));
} }
std::string AssistantManagerServiceImpl::ConsumeLastTriggerSource() { std::string AssistantManagerServiceImpl::ConsumeLastTriggerSource() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment