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

Side by Side Diff: content/browser/devtools/devtools_tracing_handler.h

Issue 12302036: Add a mode flag to the tracing framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Spelling fix in content/public/browser. Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_
7 7
8 #include "content/browser/devtools/devtools_protocol.h" 8 #include "content/browser/devtools/devtools_protocol.h"
9 #include "content/public/browser/trace_subscriber.h" 9 #include "content/public/browser/trace_subscriber.h"
10 10
(...skipping 16 matching lines...) Expand all
27 virtual void OnEndTracingComplete() OVERRIDE;; 27 virtual void OnEndTracingComplete() OVERRIDE;;
28 virtual void OnTraceDataCollected( 28 virtual void OnTraceDataCollected(
29 const scoped_refptr<base::RefCountedString>& trace_fragment) OVERRIDE; 29 const scoped_refptr<base::RefCountedString>& trace_fragment) OVERRIDE;
30 30
31 private: 31 private:
32 scoped_ptr<DevToolsProtocol::Response> OnStart( 32 scoped_ptr<DevToolsProtocol::Response> OnStart(
33 DevToolsProtocol::Command* command); 33 DevToolsProtocol::Command* command);
34 scoped_ptr<DevToolsProtocol::Response> OnEnd( 34 scoped_ptr<DevToolsProtocol::Response> OnEnd(
35 DevToolsProtocol::Command* command); 35 DevToolsProtocol::Command* command);
36 36
37 int TraceOptionsFromString(const std::string& options);
38
37 bool is_running_; 39 bool is_running_;
38 40
39 DISALLOW_COPY_AND_ASSIGN(DevToolsTracingHandler); 41 DISALLOW_COPY_AND_ASSIGN(DevToolsTracingHandler);
40 }; 42 };
41 43
42 } // namespace content 44 } // namespace content
43 45
44 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_ 46 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698