Chromium Code Reviews| Index: components/arc/intent_helper/local_activity_resolver.h |
| diff --git a/components/arc/intent_helper/local_activity_resolver.h b/components/arc/intent_helper/local_activity_resolver.h |
| index ec076253ae1c9a4d478fbc449663791cf5517555..2033b7744b55e4fd5d3bbad77da222f6181a02fd 100644 |
| --- a/components/arc/intent_helper/local_activity_resolver.h |
| +++ b/components/arc/intent_helper/local_activity_resolver.h |
| @@ -2,12 +2,15 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef COMPONENTS_ARC_INTENT_HELPER_LOCAL_ACTIVITY_HELPER_H_ |
| -#define COMPONENTS_ARC_INTENT_HELPER_LOCAL_ACTIVITY_HELPER_H_ |
| +#ifndef COMPONENTS_ARC_INTENT_HELPER_LOCAL_ACTIVITY_RESOLVER_H_ |
|
Yusuke Sato
2016/07/12 10:52:58
Good catch. Could you also run 'git cl lint' to ma
Ben Kwa
2016/07/12 16:05:23
Done.
|
| +#define COMPONENTS_ARC_INTENT_HELPER_LOCAL_ACTIVITY_RESOLVER_H_ |
| + |
| +#include <vector> |
| #include "base/macros.h" |
| #include "base/memory/ref_counted.h" |
| #include "components/arc/common/intent_helper.mojom.h" |
| +#include "components/arc/intent_helper/intent_filter.h" |
| #include "mojo/public/cpp/bindings/binding.h" |
| class GURL; |
| @@ -25,15 +28,9 @@ class LocalActivityResolver : public base::RefCounted<LocalActivityResolver> { |
| friend class base::RefCounted<LocalActivityResolver>; |
| ~LocalActivityResolver(); |
| - bool IsRelevantIntentFilter(const mojom::IntentFilterPtr& intent_filter); |
| - bool FilterHasViewAction(const mojom::IntentFilterPtr& intent_filter); |
| - bool FilterCategoryIsBrowsable(const mojom::IntentFilterPtr& intent_filter); |
| - bool FilterHandlesWebSchemes(const mojom::IntentFilterPtr& intent_filter); |
| - |
| // List of intent filters from Android. Used to determine if Chrome should |
| // handle a URL without handing off to Android. |
| - mojo::Array<mojom::IntentFilterPtr> intent_filters_; |
| - |
| + std::vector<IntentFilter> intent_filters_; |
| DISALLOW_COPY_AND_ASSIGN(LocalActivityResolver); |
| }; |