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

Unified Diff: content/public/browser/tracing_controller.h

Issue 1499793003: Fix classes that have too many virtuals for inline constructors. Base URL: https://chromium.googlesource.com/chromium/src.git@enable-virtuals-as-complexity
Patch Set: Finish fixing the codebase that's accessible from Linux. Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/tracing_controller.h
diff --git a/content/public/browser/tracing_controller.h b/content/public/browser/tracing_controller.h
index 6467e95212fbb3a2c976274cf920154c81918773..757ac9a8e29e08c01f7b4ca2dcb60bf076c01a8a 100644
--- a/content/public/browser/tracing_controller.h
+++ b/content/public/browser/tracing_controller.h
@@ -9,6 +9,7 @@
#include <string>
#include "base/callback.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/trace_event/trace_event.h"
#include "base/values.h"
@@ -53,10 +54,13 @@ class TracingController {
protected:
friend class base::RefCountedThreadSafe<TraceDataSink>;
+ TraceDataSink() = default;
virtual ~TraceDataSink() {}
private:
base::DictionaryValue metadata_;
+
+ DISALLOW_COPY_AND_ASSIGN(TraceDataSink);
};
// An implementation of this interface is passed when constructing a

Powered by Google App Engine
This is Rietveld 408576698