forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ambient: Move photo controller to ash
This cl is a preparation to extract the token management logic for ambient mode. After moving photo controller to ash, ambient controller can manage the token in a single place. Major changes: 1. Adds a public interface of AmbientBackendController so that Settings can call it to get/update ambient mode Settings. 2. Adds a public interface of AmbientClient to provide profile related info, e.g. access token. 3. Adds new unittests. Will refactor ambient mode tests in a follow up cl to consolidate common logic by creating AmbientAshTestBase. Bug: b/148463064 Test: unittests Change-Id: I78a0273b1019fdf86162da73b8122e578e8b3779 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2136853 Commit-Queue: Tao Wu <wutao@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: David Roger <droger@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> Cr-Commit-Position: refs/heads/master@{#763163}
- Loading branch information
wutao
authored and
Commit Bot
committed
Apr 28, 2020
1 parent
cf2eb5e
commit a88fcc5
Showing
43 changed files
with
1,068 additions
and
649 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
specific_include_rules = { | ||
"ambient_backend_controller_impl\.*": [ | ||
"+chromeos/assistant/internal/ambient/backdrop_client_config.h", | ||
"+chromeos/assistant/internal/proto/google3/backdrop/backdrop.pb.h", | ||
], | ||
"ambient_controller.cc": [ | ||
"+chromeos/assistant/buildflags.h", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.