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

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

Issue 1413153007: arc-app-launcher: Minimal support for ARC app launcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromeos/dbus/fake_arc_bridge_client.h" 5 #include "chromeos/dbus/fake_arc_bridge_client.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/thread_task_runner_handle.h"
(...skipping 15 matching lines...) Expand all
26 } 26 }
27 27
28 void FakeArcBridgeClient::Init(dbus::Bus* bus) { 28 void FakeArcBridgeClient::Init(dbus::Bus* bus) {
29 } 29 }
30 30
31 void FakeArcBridgeClient::Ping(const VoidDBusMethodCallback& callback) { 31 void FakeArcBridgeClient::Ping(const VoidDBusMethodCallback& callback) {
32 base::ThreadTaskRunnerHandle::Get()->PostTask( 32 base::ThreadTaskRunnerHandle::Get()->PostTask(
33 FROM_HERE, base::Bind(&OnVoidDBusMethod, callback)); 33 FROM_HERE, base::Bind(&OnVoidDBusMethod, callback));
34 } 34 }
35 35
36 void FakeArcBridgeClient::Refresh() {}
37
38 void FakeArcBridgeClient::LaunchApp(const std::string& package,
39 const std::string& activity) {}
40
41 void FakeArcBridgeClient::AddAppObserver(AppObserver* observer) {}
42
43 void FakeArcBridgeClient::RemoveAppObserver(AppObserver* observer) {}
44
36 } // namespace chromeos 45 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698