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

Side by Side Diff: content/browser/tracing/trace_message_filter.h

Issue 637183002: Replace FINAL and OVERRIDE with their C++11 counterparts in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch Created 6 years, 2 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
« no previous file with comments | « content/browser/time_zone_monitor_win.cc ('k') | content/browser/tracing/trace_uploader.h » ('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_TRACING_TRACE_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_TRACING_TRACE_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_TRACING_TRACE_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_TRACING_TRACE_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/debug/trace_event.h" 11 #include "base/debug/trace_event.h"
12 #include "content/public/browser/browser_message_filter.h" 12 #include "content/public/browser/browser_message_filter.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 // This class sends and receives trace messages on the browser process. 16 // This class sends and receives trace messages on the browser process.
17 // See also: tracing_controller.h 17 // See also: tracing_controller.h
18 // See also: child_trace_message_filter.h 18 // See also: child_trace_message_filter.h
19 class TraceMessageFilter : public BrowserMessageFilter { 19 class TraceMessageFilter : public BrowserMessageFilter {
20 public: 20 public:
21 TraceMessageFilter(); 21 TraceMessageFilter();
22 22
23 // BrowserMessageFilter implementation. 23 // BrowserMessageFilter implementation.
24 virtual void OnChannelClosing() OVERRIDE; 24 virtual void OnChannelClosing() override;
25 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 25 virtual bool OnMessageReceived(const IPC::Message& message) override;
26 26
27 void SendBeginTracing(const base::debug::CategoryFilter& category_filter_str, 27 void SendBeginTracing(const base::debug::CategoryFilter& category_filter_str,
28 const base::debug::TraceOptions& options); 28 const base::debug::TraceOptions& options);
29 void SendEndTracing(); 29 void SendEndTracing();
30 void SendEnableMonitoring(const base::debug::CategoryFilter& category_filter, 30 void SendEnableMonitoring(const base::debug::CategoryFilter& category_filter,
31 const base::debug::TraceOptions& options); 31 const base::debug::TraceOptions& options);
32 void SendDisableMonitoring(); 32 void SendDisableMonitoring();
33 void SendCaptureMonitoringSnapshot(); 33 void SendCaptureMonitoringSnapshot();
34 void SendGetTraceBufferPercentFull(); 34 void SendGetTraceBufferPercentFull();
35 void SendSetWatchEvent(const std::string& category_name, 35 void SendSetWatchEvent(const std::string& category_name,
(...skipping 22 matching lines...) Expand all
58 bool is_awaiting_capture_monitoring_snapshot_ack_; 58 bool is_awaiting_capture_monitoring_snapshot_ack_;
59 // Awaiting ack for previously sent SendGetTraceBufferPercentFull 59 // Awaiting ack for previously sent SendGetTraceBufferPercentFull
60 bool is_awaiting_buffer_percent_full_ack_; 60 bool is_awaiting_buffer_percent_full_ack_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(TraceMessageFilter); 62 DISALLOW_COPY_AND_ASSIGN(TraceMessageFilter);
63 }; 63 };
64 64
65 } // namespace content 65 } // namespace content
66 66
67 #endif // CONTENT_BROWSER_TRACING_TRACE_MESSAGE_FILTER_H_ 67 #endif // CONTENT_BROWSER_TRACING_TRACE_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/browser/time_zone_monitor_win.cc ('k') | content/browser/tracing/trace_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698