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

Unified Diff: components/arc/intent_helper/link_handler_model_impl.h

Issue 2498223002: arc: enable use_new_wrapper_types for intent_helper.mojom (Closed)
Patch Set: rebase 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: components/arc/intent_helper/link_handler_model_impl.h
diff --git a/components/arc/intent_helper/link_handler_model_impl.h b/components/arc/intent_helper/link_handler_model_impl.h
index 3322025ba5b12c020140edbb64a79a41c6d75a51..06d4803103531b3e1e40d9c2ad8c83e04264f461 100644
--- a/components/arc/intent_helper/link_handler_model_impl.h
+++ b/components/arc/intent_helper/link_handler_model_impl.h
@@ -6,6 +6,7 @@
#define COMPONENTS_ARC_INTENT_HELPER_LINK_HANDLER_MODEL_IMPL_H_
#include <memory>
+#include <vector>
#include "ash/link_handler_model.h"
#include "base/memory/ref_counted.h"
@@ -35,7 +36,7 @@ class LinkHandlerModelImpl : public ash::LinkHandlerModel {
private:
mojom::IntentHelperInstance* GetIntentHelper();
- void OnUrlHandlerList(mojo::Array<mojom::IntentHandlerInfoPtr> handlers);
+ void OnUrlHandlerList(std::vector<mojom::IntentHandlerInfoPtr> handlers);
void NotifyObserver(
std::unique_ptr<ActivityIconLoader::ActivityToIconsMap> icons);
@@ -48,7 +49,7 @@ class LinkHandlerModelImpl : public ash::LinkHandlerModel {
base::ObserverList<Observer> observer_list_;
// Url handler info passed from ARC.
- mojo::Array<mojom::IntentHandlerInfoPtr> handlers_;
+ std::vector<mojom::IntentHandlerInfoPtr> handlers_;
// Activity icon info passed from ARC.
ActivityIconLoader::ActivityToIconsMap icons_;
« no previous file with comments | « components/arc/intent_helper/intent_filter_unittest.cc ('k') | components/arc/intent_helper/link_handler_model_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698