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

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

Issue 2306673002: arc: update proxy settings from UI and ONC policy. (Closed)
Patch Set: Fixed a comment. Created 4 years, 3 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/arc/test/fake_intent_helper_instance.h"
6
7 namespace arc {
8
9 FakeIntentHelperInstance::FakeIntentHelperInstance() {}
10
11 FakeIntentHelperInstance::Broadcast::Broadcast(const mojo::String& action,
12 const mojo::String& package_name,
13 const mojo::String& cls,
14 const mojo::String& extras)
15 : action(action), package_name(package_name), cls(cls), extras(extras) {}
16
17 FakeIntentHelperInstance::Broadcast::Broadcast(const Broadcast& broadcast)
18 : action(broadcast.action),
19 package_name(broadcast.package_name),
20 cls(broadcast.cls),
21 extras(broadcast.extras) {}
22
23 FakeIntentHelperInstance::Broadcast::~Broadcast() {}
24
25 FakeIntentHelperInstance::~FakeIntentHelperInstance() {}
26
27 void FakeIntentHelperInstance::AddPreferredPackage(
28 const mojo::String& package_name) {}
29
30 void FakeIntentHelperInstance::HandleUrl(const mojo::String& url,
31 const mojo::String& package_name) {}
32
33 void FakeIntentHelperInstance::HandleUrlList(
34 mojo::Array<mojom::UrlWithMimeTypePtr> urls,
35 mojom::ActivityNamePtr activity,
36 mojom::ActionType action) {}
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) {}
44
45 void FakeIntentHelperInstance::RequestActivityIcons(
46 mojo::Array<mojom::ActivityNamePtr> activities,
47 ::arc::mojom::ScaleFactor scale_factor,
48 const RequestActivityIconsCallback& callback) {}
49
50 void FakeIntentHelperInstance::RequestUrlHandlerList(
51 const mojo::String& url,
52 const RequestUrlHandlerListCallback& callback) {}
53
54 void FakeIntentHelperInstance::RequestUrlListHandlerList(
55 mojo::Array<mojom::UrlWithMimeTypePtr> urls,
56 const RequestUrlListHandlerListCallback& callback) {}
57
58 void FakeIntentHelperInstance::SendBroadcast(const mojo::String& action,
59 const mojo::String& package_name,
60 const mojo::String& cls,
61 const mojo::String& extras) {
62 broadcasts_.emplace_back(action, package_name, cls, extras);
63 }
64
65 } // 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