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

Side by Side Diff: content/browser/tracing/trace_controller_impl.cc

Issue 16625010: Use a direct include of strings headers in content/browser/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 #include "content/browser/tracing/trace_controller_impl.h" 5 #include "content/browser/tracing/trace_controller_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "content/browser/tracing/trace_message_filter.h" 11 #include "content/browser/tracing/trace_message_filter.h"
12 #include "content/browser/tracing/trace_subscriber_stdio.h" 12 #include "content/browser/tracing/trace_subscriber_stdio.h"
13 #include "content/common/child_process_messages.h" 13 #include "content/common/child_process_messages.h"
14 #include "content/public/browser/browser_message_filter.h" 14 #include "content/public/browser/browser_message_filter.h"
15 #include "content/public/common/content_switches.h" 15 #include "content/public/common/content_switches.h"
16 16
17 using base::debug::TraceLog; 17 using base::debug::TraceLog;
18 18
19 namespace content { 19 namespace content {
20 20
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 // The last ack represents local trace, so we need to ack it now. Note that 398 // The last ack represents local trace, so we need to ack it now. Note that
399 // this code only executes if there were child processes. 399 // this code only executes if there were child processes.
400 float bpf = TraceLog::GetInstance()->GetBufferPercentFull(); 400 float bpf = TraceLog::GetInstance()->GetBufferPercentFull();
401 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, 401 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
402 base::Bind(&TraceControllerImpl::OnTraceBufferPercentFullReply, 402 base::Bind(&TraceControllerImpl::OnTraceBufferPercentFullReply,
403 base::Unretained(this), bpf)); 403 base::Unretained(this), bpf));
404 } 404 }
405 } 405 }
406 406
407 } // namespace content 407 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/streams/stream_url_request_job.cc ('k') | content/browser/tracing/tracing_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698