| Index: chrome/browser/chromeos/dbus/debug_daemon_client.h
|
| diff --git a/chrome/browser/chromeos/dbus/debug_daemon_client.h b/chrome/browser/chromeos/dbus/debug_daemon_client.h
|
| deleted file mode 100644
|
| index 843a0591695ca28353b239d007956b5bb0de6272..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/dbus/debug_daemon_client.h
|
| +++ /dev/null
|
| @@ -1,52 +0,0 @@
|
| -// 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.
|
| -
|
| -#ifndef CHROME_BROWSER_CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_
|
| -#define CHROME_BROWSER_CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_
|
| -
|
| -#include "base/callback.h"
|
| -#include "base/memory/ref_counted_memory.h"
|
| -#include "chrome/browser/chromeos/dbus/dbus_client_implementation_type.h"
|
| -
|
| -namespace dbus {
|
| -class Bus;
|
| -} // namespace dbus
|
| -
|
| -namespace chromeos {
|
| -
|
| -// DebugDaemonClient is used to communicate with the debug daemon.
|
| -class DebugDaemonClient {
|
| - public:
|
| - virtual ~DebugDaemonClient();
|
| -
|
| - // Requests to start system/kernel tracing.
|
| - virtual void StartSystemTracing() = 0;
|
| -
|
| - // Called once RequestStopSystemTracing() is complete. Takes one parameter:
|
| - // - result: the data collected while tracing was active
|
| - typedef base::Callback<void(const scoped_refptr<base::RefCountedString>&
|
| - result)> StopSystemTracingCallback;
|
| -
|
| - // Requests to stop system tracing and calls |callback| when completed.
|
| - virtual bool RequestStopSystemTracing(const StopSystemTracingCallback&
|
| - callback) = 0;
|
| -
|
| - // Returns an empty SystemTracingCallback that does nothing.
|
| - static StopSystemTracingCallback EmptyStopSystemTracingCallback();
|
| -
|
| - // Factory function, creates a new instance and returns ownership.
|
| - // For normal usage, access the singleton via DBusThreadManager::Get().
|
| - static DebugDaemonClient* Create(DBusClientImplementationType type,
|
| - dbus::Bus* bus);
|
| - protected:
|
| - // Create() should be used instead.
|
| - DebugDaemonClient();
|
| -
|
| - private:
|
| - DISALLOW_COPY_AND_ASSIGN(DebugDaemonClient);
|
| -};
|
| -
|
| -} // namespace chromeos
|
| -
|
| -#endif // CHROME_BROWSER_CHROMEOS_DBUS_DEBUG_DAEMON_CLIENT_H_
|
|
|