Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2386)

Unified Diff: chrome/browser/chromeos/dbus/debug_daemon_client.h

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « chrome/browser/chromeos/dbus/dbus_thread_manager.cc ('k') | chrome/browser/chromeos/dbus/debug_daemon_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698