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

Side by Side Diff: chromeos/dbus/fake_arc_bridge_client.cc

Issue 1421023002: Remove the ARC Bridge Service (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Removing the service instead of renaming it Created 5 years, 1 month 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 | « chromeos/dbus/fake_arc_bridge_client.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 2015 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 "chromeos/dbus/fake_arc_bridge_client.h"
6
7 #include "base/bind.h"
8 #include "base/location.h"
9 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h"
11
12 namespace chromeos {
13
14 namespace {
15
16 void OnVoidDBusMethod(const VoidDBusMethodCallback& callback) {
17 callback.Run(DBUS_METHOD_CALL_SUCCESS);
18 }
19
20 } // anonymous namespace
21
22 FakeArcBridgeClient::FakeArcBridgeClient() {
23 }
24
25 FakeArcBridgeClient::~FakeArcBridgeClient() {
26 }
27
28 void FakeArcBridgeClient::Init(dbus::Bus* bus) {
29 }
30
31 void FakeArcBridgeClient::Ping(const VoidDBusMethodCallback& callback) {
32 base::ThreadTaskRunnerHandle::Get()->PostTask(
33 FROM_HERE, base::Bind(&OnVoidDBusMethod, callback));
34 }
35
36 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_arc_bridge_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698