Fix compilation error triggered with -Werror=sign-compare
[chromium-blink-merge.git] / chromeos / dbus / fake_lorgnette_manager_client.cc
blob16924b3d5b906106b673afe3e128034af91903bf
1 // Copyright 2014 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.
5 #include "chromeos/dbus/fake_lorgnette_manager_client.h"
7 #include <map>
8 #include <string>
9 #include <vector>
11 #include "base/bind.h"
12 #include "base/callback.h"
13 #include "base/location.h"
14 #include "base/message_loop/message_loop.h"
16 namespace chromeos {
18 FakeLorgnetteManagerClient::FakeLorgnetteManagerClient() {}
20 FakeLorgnetteManagerClient::~FakeLorgnetteManagerClient() {}
22 void FakeLorgnetteManagerClient::Init(dbus::Bus* bus) {}
24 void FakeLorgnetteManagerClient::ListScanners(
25 const ListScannersCallback& callback) {
26 std::map<std::string, ScannerTableEntry> scanners;
27 base::MessageLoop::current()->PostTask(FROM_HERE,
28 base::Bind(callback, false, scanners));
31 void FakeLorgnetteManagerClient::ScanImage(
32 std::string device_name,
33 base::PlatformFile file,
34 const ScanProperties& properties,
35 const ScanImageCallback& callback) {
36 base::MessageLoop::current()->PostTask(FROM_HERE,
37 base::Bind(callback, false));
40 } // namespace chromeos