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

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

Issue 409073003: Make tracing based Timeline stop after reloading inspected page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | content/browser/devtools/devtools_tracing_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 TracingController::Options TraceOptionsFromString(const std::string& options); 49 TracingController::Options TraceOptionsFromString(const std::string& options);
50 50
51 void DisableRecording( 51 void DisableRecording(
52 const TracingController::TracingFileResultCallback& callback = 52 const TracingController::TracingFileResultCallback& callback =
53 TracingController::TracingFileResultCallback()); 53 TracingController::TracingFileResultCallback());
54 54
55 base::WeakPtrFactory<DevToolsTracingHandler> weak_factory_; 55 base::WeakPtrFactory<DevToolsTracingHandler> weak_factory_;
56 scoped_ptr<base::Timer> buffer_usage_poll_timer_; 56 scoped_ptr<base::Timer> buffer_usage_poll_timer_;
57 Target target_; 57 Target target_;
58 bool is_recording_;
58 DISALLOW_COPY_AND_ASSIGN(DevToolsTracingHandler); 59 DISALLOW_COPY_AND_ASSIGN(DevToolsTracingHandler);
59 }; 60 };
60 61
61 } // namespace content 62 } // namespace content
62 63
63 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_ 64 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/devtools/devtools_tracing_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698