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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: components/arc/test/fake_intent_helper_instance.cc
diff --git a/components/arc/test/fake_intent_helper_instance.cc b/components/arc/test/fake_intent_helper_instance.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e6e643f8b1e89d108f56ab7e2666d643e8d28dab
--- /dev/null
+++ b/components/arc/test/fake_intent_helper_instance.cc
@@ -0,0 +1,62 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/arc/test/fake_intent_helper_instance.h"
+
+namespace arc {
+
+FakeIntentHelperInstance::FakeIntentHelperInstance() {}
+FakeIntentHelperInstance::~FakeIntentHelperInstance() {}
+
+void FakeIntentHelperInstance::AddPreferredPackage(
+ const mojo::String& package_name) {
+}
+
+void FakeIntentHelperInstance::HandleUrl(const mojo::String& url,
+ const mojo::String& package_name) {
+}
+
+void FakeIntentHelperInstance::HandleUrlList(
+ mojo::Array<mojom::UrlWithMimeTypePtr> urls,
+ mojom::ActivityNamePtr activity,
+ 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.
+}
+
+void FakeIntentHelperInstance::HandleUrlListDeprecated(
+ mojo::Array<mojom::UrlWithMimeTypePtr> urls,
+ const mojo::String& package_name,
+ mojom::ActionType action) {
+}
+
+void FakeIntentHelperInstance::Init(mojom::IntentHelperHostPtr host_ptr) {
+}
+
+
+void FakeIntentHelperInstance::RequestActivityIcons(
+ mojo::Array<mojom::ActivityNamePtr> activities,
+ ::arc::mojom::ScaleFactor scale_factor,
+ const RequestActivityIconsCallback& callback) {
+}
+
+void FakeIntentHelperInstance::RequestUrlHandlerList(
+ const mojo::String& url,
+ const RequestUrlHandlerListCallback& callback) {
+}
+
+void FakeIntentHelperInstance::RequestUrlListHandlerList(
+ mojo::Array<mojom::UrlWithMimeTypePtr> urls,
+ const RequestUrlListHandlerListCallback& callback) {
+}
+
+void FakeIntentHelperInstance::SendBroadcast(
+ const mojo::String& action,
+ const mojo::String& package_name,
+ const mojo::String& cls,
+ const mojo::String& extras) {
+ if (!callback_.is_null())
+ callback_.Run(action, extras);
+}
+
+} // namespace arc
+

Powered by Google App Engine
This is Rietveld 408576698