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

Unified Diff: content/browser/debugger/devtools_tracing_handler.h

Issue 11630004: DevTools: rename debugger/ to devtools/, move DevTools files into content/renderer/devtools. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: For landing Created 8 years 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: content/browser/debugger/devtools_tracing_handler.h
diff --git a/content/browser/debugger/devtools_tracing_handler.h b/content/browser/debugger/devtools_tracing_handler.h
deleted file mode 100644
index a5858fc3aa61eb1eb5f1d1374a116b8f29fdbdba..0000000000000000000000000000000000000000
--- a/content/browser/debugger/devtools_tracing_handler.h
+++ /dev/null
@@ -1,50 +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 CONTENT_BROWSER_DEBUGGER_DEVTOOLS_TRACING_HANDLER_H_
-#define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_TRACING_HANDLER_H_
-
-#include "content/browser/debugger/devtools_browser_target.h"
-#include "content/public/browser/trace_subscriber.h"
-
-namespace content {
-
-// This class bridges DevTools remote debugging server with the trace
-// infrastructure.
-class DevToolsTracingHandler
- : public TraceSubscriber,
- public DevToolsBrowserTarget::Handler {
- public:
- DevToolsTracingHandler();
- virtual ~DevToolsTracingHandler();
-
- // TraceSubscriber:
- virtual void OnEndTracingComplete() OVERRIDE;;
- virtual void OnTraceDataCollected(
- const scoped_refptr<base::RefCountedString>& trace_fragment) OVERRIDE;
-
- // DevToolBrowserTarget::Handler:
- virtual std::string Domain() OVERRIDE;
- virtual base::Value* OnProtocolCommand(
- const std::string& method,
- const base::DictionaryValue* params,
- base::Value** error_out) OVERRIDE;
-
- private:
- base::Value* Start(const base::DictionaryValue* params);
- base::Value* End(const base::DictionaryValue* params);
- base::Value* HasCompleted(const base::DictionaryValue* params);
- base::Value* GetTraceAndReset(const base::DictionaryValue* params);
-
- bool has_completed_;
-
- std::vector<std::string> buffer_;
- int buffer_data_size_;
-
- DISALLOW_COPY_AND_ASSIGN(DevToolsTracingHandler);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_TRACING_HANDLER_H_
« no previous file with comments | « content/browser/debugger/devtools_resources.gyp ('k') | content/browser/debugger/devtools_tracing_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698