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

Side by Side Diff: components/arc/test/fake_intent_helper_instance.cc

Issue 2397263003: arc: Remove IntentHelperInstance::HandleUrlListDeprecated. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « components/arc/test/fake_intent_helper_instance.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/test/fake_intent_helper_instance.h" 5 #include "components/arc/test/fake_intent_helper_instance.h"
6 6
7 namespace arc { 7 namespace arc {
8 8
9 FakeIntentHelperInstance::FakeIntentHelperInstance() {} 9 FakeIntentHelperInstance::FakeIntentHelperInstance() {}
10 10
(...skipping 17 matching lines...) Expand all
28 const mojo::String& package_name) {} 28 const mojo::String& package_name) {}
29 29
30 void FakeIntentHelperInstance::HandleUrl(const mojo::String& url, 30 void FakeIntentHelperInstance::HandleUrl(const mojo::String& url,
31 const mojo::String& package_name) {} 31 const mojo::String& package_name) {}
32 32
33 void FakeIntentHelperInstance::HandleUrlList( 33 void FakeIntentHelperInstance::HandleUrlList(
34 mojo::Array<mojom::UrlWithMimeTypePtr> urls, 34 mojo::Array<mojom::UrlWithMimeTypePtr> urls,
35 mojom::ActivityNamePtr activity, 35 mojom::ActivityNamePtr activity,
36 mojom::ActionType action) {} 36 mojom::ActionType action) {}
37 37
38 void FakeIntentHelperInstance::HandleUrlListDeprecated(
39 mojo::Array<mojom::UrlWithMimeTypePtr> urls,
40 const mojo::String& package_name,
41 mojom::ActionType action) {}
42
43 void FakeIntentHelperInstance::Init(mojom::IntentHelperHostPtr host_ptr) {} 38 void FakeIntentHelperInstance::Init(mojom::IntentHelperHostPtr host_ptr) {}
44 39
45 void FakeIntentHelperInstance::RequestActivityIcons( 40 void FakeIntentHelperInstance::RequestActivityIcons(
46 mojo::Array<mojom::ActivityNamePtr> activities, 41 mojo::Array<mojom::ActivityNamePtr> activities,
47 ::arc::mojom::ScaleFactor scale_factor, 42 ::arc::mojom::ScaleFactor scale_factor,
48 const RequestActivityIconsCallback& callback) {} 43 const RequestActivityIconsCallback& callback) {}
49 44
50 void FakeIntentHelperInstance::RequestUrlHandlerList( 45 void FakeIntentHelperInstance::RequestUrlHandlerList(
51 const mojo::String& url, 46 const mojo::String& url,
52 const RequestUrlHandlerListCallback& callback) {} 47 const RequestUrlHandlerListCallback& callback) {}
53 48
54 void FakeIntentHelperInstance::RequestUrlListHandlerList( 49 void FakeIntentHelperInstance::RequestUrlListHandlerList(
55 mojo::Array<mojom::UrlWithMimeTypePtr> urls, 50 mojo::Array<mojom::UrlWithMimeTypePtr> urls,
56 const RequestUrlListHandlerListCallback& callback) {} 51 const RequestUrlListHandlerListCallback& callback) {}
57 52
58 void FakeIntentHelperInstance::SendBroadcast(const mojo::String& action, 53 void FakeIntentHelperInstance::SendBroadcast(const mojo::String& action,
59 const mojo::String& package_name, 54 const mojo::String& package_name,
60 const mojo::String& cls, 55 const mojo::String& cls,
61 const mojo::String& extras) { 56 const mojo::String& extras) {
62 broadcasts_.emplace_back(action, package_name, cls, extras); 57 broadcasts_.emplace_back(action, package_name, cls, extras);
63 } 58 }
64 59
65 } // namespace arc 60 } // namespace arc
OLDNEW
« no previous file with comments | « components/arc/test/fake_intent_helper_instance.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698