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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/test/fake_intent_helper_instance.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a5fe57abdec6845b2adf425c0779e773c31f4fd5
--- /dev/null
+++ b/components/arc/test/fake_intent_helper_instance.cc
@@ -0,0 +1,65 @@
+// 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::Broadcast::Broadcast(const mojo::String& action,
+ const mojo::String& package_name,
+ const mojo::String& cls,
+ const mojo::String& extras)
+ : action(action), package_name(package_name), cls(cls), extras(extras) {}
+
+FakeIntentHelperInstance::Broadcast::Broadcast(const Broadcast& broadcast)
+ : action(broadcast.action),
+ package_name(broadcast.package_name),
+ cls(broadcast.cls),
+ extras(broadcast.extras) {}
+
+FakeIntentHelperInstance::Broadcast::~Broadcast() {}
+
+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) {}
+
+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) {
+ broadcasts_.emplace_back(action, package_name, cls, extras);
+}
+
+} // namespace arc
« 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