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

Side by Side Diff: content/browser/devtools/protocol/tracing_handler.cc

Issue 866803003: Mechanical rename of tracing includes for /content [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part2
Patch Set: Created 5 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "content/browser/devtools/protocol/tracing_handler.h" 5 #include "content/browser/devtools/protocol/tracing_handler.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/debug/trace_event_impl.h"
11 #include "base/strings/string_split.h" 10 #include "base/strings/string_split.h"
12 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
13 #include "base/time/time.h" 12 #include "base/time/time.h"
14 #include "base/timer/timer.h" 13 #include "base/timer/timer.h"
14 #include "base/trace_event/trace_event_impl.h"
15 15
16 namespace content { 16 namespace content {
17 namespace devtools { 17 namespace devtools {
18 namespace tracing { 18 namespace tracing {
19 19
20 typedef DevToolsProtocolClient::Response Response; 20 typedef DevToolsProtocolClient::Response Response;
21 21
22 namespace { 22 namespace {
23 23
24 const char kRecordUntilFull[] = "record-until-full"; 24 const char kRecordUntilFull[] = "record-until-full";
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 void TracingHandler::DisableRecording(bool abort) { 202 void TracingHandler::DisableRecording(bool abort) {
203 is_recording_ = false; 203 is_recording_ = false;
204 buffer_usage_poll_timer_.reset(); 204 buffer_usage_poll_timer_.reset();
205 TracingController::GetInstance()->DisableRecording( 205 TracingController::GetInstance()->DisableRecording(
206 abort ? nullptr : new DevToolsTraceSinkProxy(weak_factory_.GetWeakPtr())); 206 abort ? nullptr : new DevToolsTraceSinkProxy(weak_factory_.GetWeakPtr()));
207 } 207 }
208 208
209 } // namespace tracing 209 } // namespace tracing
210 } // namespace devtools 210 } // namespace devtools
211 } // namespace content 211 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/tracing_handler.h ('k') | content/browser/frame_host/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698