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

Side by Side Diff: content/browser/trace_message_filter.cc

Issue 11624021: Move tracing component to src/components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge LKGR Created 7 years, 12 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/trace_message_filter.h" 5 #include "content/browser/trace_message_filter.h"
6 6
7 #include "components/tracing/tracing_messages.h"
7 #include "content/browser/trace_controller_impl.h" 8 #include "content/browser/trace_controller_impl.h"
8 #include "content/components/tracing/tracing_messages.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 TraceMessageFilter::TraceMessageFilter() : 12 TraceMessageFilter::TraceMessageFilter() :
13 has_child_(false), 13 has_child_(false),
14 is_awaiting_end_ack_(false), 14 is_awaiting_end_ack_(false),
15 is_awaiting_buffer_percent_full_ack_(false) { 15 is_awaiting_buffer_percent_full_ack_(false) {
16 } 16 }
17 17
18 void TraceMessageFilter::OnFilterAdded(IPC::Channel* channel) { 18 void TraceMessageFilter::OnFilterAdded(IPC::Channel* channel) {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 if (is_awaiting_buffer_percent_full_ack_) { 119 if (is_awaiting_buffer_percent_full_ack_) {
120 is_awaiting_buffer_percent_full_ack_ = false; 120 is_awaiting_buffer_percent_full_ack_ = false;
121 TraceControllerImpl::GetInstance()->OnTraceBufferPercentFullReply( 121 TraceControllerImpl::GetInstance()->OnTraceBufferPercentFullReply(
122 percent_full); 122 percent_full);
123 } else { 123 } else {
124 NOTREACHED(); 124 NOTREACHED();
125 } 125 }
126 } 126 }
127 127
128 } // namespace content 128 } // namespace content
OLDNEW
« components/tracing/DEPS ('K') | « content/browser/DEPS ('k') | content/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698