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

Unified Diff: chrome/browser/chromeos/note_taking_helper.h

Issue 2623273003: arc: Remove ArcServiceManager::Observer (Closed)
Patch Set: Moved Get() to the manager class per (verbal) feedback from Luis Created 3 years, 11 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
Index: chrome/browser/chromeos/note_taking_helper.h
diff --git a/chrome/browser/chromeos/note_taking_helper.h b/chrome/browser/chromeos/note_taking_helper.h
index 669c688598d99561c2f7355e6570ee2acde10630..86676b1283518b1c4ab7142f96e5e1603a1bd2c6 100644
--- a/chrome/browser/chromeos/note_taking_helper.h
+++ b/chrome/browser/chromeos/note_taking_helper.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_
#define CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_
+#include <memory>
#include <string>
#include <vector>
@@ -13,7 +14,8 @@
#include "base/observer_list.h"
#include "base/scoped_observer.h"
#include "chrome/browser/chromeos/arc/arc_session_manager.h"
-#include "components/arc/arc_service_manager.h"
+#include "components/arc/common/intent_helper.mojom.h"
+#include "components/arc/intent_helper/arc_intent_helper_observer.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -58,7 +60,7 @@ struct NoteTakingAppInfo {
using NoteTakingAppInfos = std::vector<NoteTakingAppInfo>;
// Singleton class used to launch a note-taking app.
-class NoteTakingHelper : public arc::ArcServiceManager::Observer,
+class NoteTakingHelper : public arc::ArcIntentHelperObserver,
public arc::ArcSessionManager::Observer,
public content::NotificationObserver,
public extensions::ExtensionRegistryObserver {
@@ -150,7 +152,7 @@ class NoteTakingHelper : public arc::ArcServiceManager::Observer,
// first.
void LaunchAppForNewNote(Profile* profile, const base::FilePath& path);
- // arc::ArcServiceManager::Observer:
+ // arc::ArcIntentHelperObserver:
void OnIntentFiltersUpdated() override;
// arc::ArcSessionManager::Observer:
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager/event_router.cc ('k') | chrome/browser/chromeos/note_taking_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698