summaryrefslogtreecommitdiffstats
path: root/base/event_recorder_stubs.cc
blob: 9499c75300753936ebe17154154e797d7ec79d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2009 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 "base/event_recorder.h"

// This file implements a link stub for EventRecorder that can be used on
// platforms that don't have a working EventRecorder implementation.

namespace base {

EventRecorder* EventRecorder::current_;  // Our singleton.

bool EventRecorder::StartRecording(const std::wstring& filename) {
  return true;
}

void EventRecorder::StopRecording() {
}

bool EventRecorder::StartPlayback(const std::wstring& filename) {
  return false;
}

void EventRecorder::StopPlayback() {
}

}  // namespace