ipc/chromium/src/base/event_recorder_stubs.cc

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipc/chromium/src/base/event_recorder_stubs.cc	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +// Copyright (c) 2009 The Chromium Authors. All rights reserved.
     1.5 +// Use of this source code is governed by a BSD-style license that can be
     1.6 +// found in the LICENSE file.
     1.7 +
     1.8 +#include "base/event_recorder.h"
     1.9 +
    1.10 +// This file implements a link stub for EventRecorder that can be used on
    1.11 +// platforms that don't have a working EventRecorder implementation.
    1.12 +
    1.13 +namespace base {
    1.14 +
    1.15 +EventRecorder* EventRecorder::current_;  // Our singleton.
    1.16 +
    1.17 +bool EventRecorder::StartRecording(const FilePath& filename) {
    1.18 +  return true;
    1.19 +}
    1.20 +
    1.21 +void EventRecorder::StopRecording() {
    1.22 +}
    1.23 +
    1.24 +bool EventRecorder::StartPlayback(const FilePath& filename) {
    1.25 +  return false;
    1.26 +}
    1.27 +
    1.28 +void EventRecorder::StopPlayback() {
    1.29 +}
    1.30 +
    1.31 +}  // namespace

mercurial