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

Side by Side Diff: components/arc/intent_helper/local_activity_resolver.cc

Issue 2078683002: Add handler and mojo interface to accept android intent filters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Store intent filers in LocalActivityResolver. Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/arc/intent_helper/local_activity_resolver.h" 5 #include "components/arc/intent_helper/local_activity_resolver.h"
6 6
7 #include "url/gurl.h" 7 #include "url/gurl.h"
8 8
9 namespace arc { 9 namespace arc {
10 10
11 bool LocalActivityResolver::ShouldChromeHandleUrl(const GURL& url) { 11 bool LocalActivityResolver::ShouldChromeHandleUrl(const GURL& url) {
12 // Stub implementation for now. 12 // Stub implementation for now.
13 return true; 13 return true;
14 } 14 }
15 15
16 void LocalActivityResolver::UpdateIntentFilters(
17 mojo::Array<mojom::IntentFilterPtr>& intent_filters) {
18 intent_filters_ = std::move(intent_filters);
19 }
20
16 } // namespace arc 21 } // namespace arc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698