summaryrefslogtreecommitdiffstats
path: root/content/browser/gamepad/gamepad_platform_data_fetcher.cc
blob: d889526e0d4f730a846463670dcdddf79c70d59c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2012 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 "content/browser/gamepad/gamepad_platform_data_fetcher.h"

#include "third_party/WebKit/public/platform/WebGamepads.h"

namespace content {

GamepadDataFetcherEmpty::GamepadDataFetcherEmpty() {
}

void GamepadDataFetcherEmpty::GetGamepadData(blink::WebGamepads* pads,
                                             bool devices_changed_hint) {
  pads->length = 0;
}

}  // namespace content