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

Unified Diff: ash/mojo_interface_factory.cc

Issue 2870473002: Revert of Introduce ash mojo interface for lock screen action handlers (Closed)
Patch Set: Created 3 years, 7 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 | « ash/BUILD.gn ('k') | ash/mus/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mojo_interface_factory.cc
diff --git a/ash/mojo_interface_factory.cc b/ash/mojo_interface_factory.cc
index 04d32fbab38a12b788351d0c2cdeb3abbe358acc..3f2e0fbb78bd15fbb01ac006e064729b2cf55f1d 100644
--- a/ash/mojo_interface_factory.cc
+++ b/ash/mojo_interface_factory.cc
@@ -18,7 +18,6 @@
#include "ash/system/locale/locale_notification_controller.h"
#include "ash/system/network/vpn_list.h"
#include "ash/system/tray/system_tray_controller.h"
-#include "ash/tray_action/tray_action.h"
#include "ash/wallpaper/wallpaper_controller.h"
#include "ash/wm/maximize_mode/maximize_mode_controller.h"
#include "base/bind.h"
@@ -97,12 +96,6 @@
Shell::Get()->maximize_mode_controller()->BindRequest(std::move(request));
}
-void BindTrayActionRequestOnMainThread(
- const service_manager::BindSourceInfo& source_info,
- mojom::TrayActionRequest request) {
- Shell::Get()->tray_action()->BindRequest(std::move(request));
-}
-
void BindVpnListRequestOnMainThread(
const service_manager::BindSourceInfo& source_info,
mojom::VpnListRequest request) {
@@ -147,8 +140,6 @@
main_thread_task_runner);
registry->AddInterface(base::Bind(&BindTouchViewRequestOnMainThread),
main_thread_task_runner);
- registry->AddInterface(base::Bind(&BindTrayActionRequestOnMainThread),
- main_thread_task_runner);
registry->AddInterface(base::Bind(&BindVpnListRequestOnMainThread),
main_thread_task_runner);
registry->AddInterface(base::Bind(&BindWallpaperRequestOnMainThread),
« no previous file with comments | « ash/BUILD.gn ('k') | ash/mus/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698