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

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: arc: update proxy settings from UI and ONC policy. 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
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 FakeIntentHelperInstance::~FakeIntentHelperInstance() {}
11
12 void FakeIntentHelperInstance::AddPreferredPackage(
13 const mojo::String& package_name) {
14 }
15
16 void FakeIntentHelperInstance::HandleUrl(const mojo::String& url,
17 const mojo::String& package_name) {
18 }
19
20 void FakeIntentHelperInstance::HandleUrlList(
21 mojo::Array<mojom::UrlWithMimeTypePtr> urls,
22 mojom::ActivityNamePtr activity,
23 mojom::ActionType action) {
Luis Héctor Chávez 2016/09/02 15:58:48 Can you run git cl format / git cl lint?
Polina Bondarenko 2016/09/05 20:08:45 Done.
24 }
25
26 void FakeIntentHelperInstance::HandleUrlListDeprecated(
27 mojo::Array<mojom::UrlWithMimeTypePtr> urls,
28 const mojo::String& package_name,
29 mojom::ActionType action) {
30 }
31
32 void FakeIntentHelperInstance::Init(mojom::IntentHelperHostPtr host_ptr) {
33 }
34
35
36 void FakeIntentHelperInstance::RequestActivityIcons(
37 mojo::Array<mojom::ActivityNamePtr> activities,
38 ::arc::mojom::ScaleFactor scale_factor,
39 const RequestActivityIconsCallback& callback) {
40 }
41
42 void FakeIntentHelperInstance::RequestUrlHandlerList(
43 const mojo::String& url,
44 const RequestUrlHandlerListCallback& callback) {
45 }
46
47 void FakeIntentHelperInstance::RequestUrlListHandlerList(
48 mojo::Array<mojom::UrlWithMimeTypePtr> urls,
49 const RequestUrlListHandlerListCallback& callback) {
50 }
51
52 void FakeIntentHelperInstance::SendBroadcast(
53 const mojo::String& action,
54 const mojo::String& package_name,
55 const mojo::String& cls,
56 const mojo::String& extras) {
57 if (!callback_.is_null())
58 callback_.Run(action, extras);
59 }
60
61 } // namespace arc
62
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698