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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/event_router.h

Issue 2487623002: Notify Files App when ARC++ app is installed/removed (Closed)
Patch Set: Bug fix: I forgot to add intent_helper to arc_service_manager. Created 4 years, 1 month 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
Index: chrome/browser/chromeos/extensions/file_manager/event_router.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/event_router.h b/chrome/browser/chromeos/extensions/file_manager/event_router.h
index 42e097cf7b7b123ec1900205d0349e481b4a6a6a..218483f0db1c6a3e220b1dc5809cec1e73ae95c6 100644
--- a/chrome/browser/chromeos/extensions/file_manager/event_router.h
+++ b/chrome/browser/chromeos/extensions/file_manager/event_router.h
@@ -26,6 +26,7 @@
#include "chromeos/disks/disk_mount_manager.h"
#include "chromeos/network/network_state_handler_observer.h"
#include "chromeos/settings/timezone_settings.h"
+#include "components/arc/arc_service_manager.h"
#include "components/drive/chromeos/file_system_observer.h"
#include "components/drive/chromeos/sync_client.h"
#include "components/drive/service/drive_service_interface.h"
@@ -58,7 +59,8 @@ class EventRouter : public KeyedService,
public chromeos::system::TimezoneSettings::Observer,
public drive::FileSystemObserver,
public drive::DriveServiceObserver,
- public VolumeManagerObserver {
+ public VolumeManagerObserver,
+ public arc::ArcServiceManager::Observer {
public:
typedef base::Callback<void(const base::FilePath& virtual_path,
const drive::FileChange* list,
@@ -69,6 +71,9 @@ class EventRouter : public KeyedService,
explicit EventRouter(Profile* profile);
~EventRouter() override;
+ // arc::ArcIntentHelperBridge::Observer overrides.
hidehiko 2016/11/25 15:38:00 arc::ArcServiceManager::Observer
oka 2016/11/28 07:15:43 Done.
+ void OnAppsUpdated() override;
+
// KeyedService overrides.
void Shutdown() override;

Powered by Google App Engine
This is Rietveld 408576698