Index: tools/clang/blink_gc_plugin/BlinkGCPluginOptions.h |
diff --git a/tools/clang/blink_gc_plugin/BlinkGCPluginOptions.h b/tools/clang/blink_gc_plugin/BlinkGCPluginOptions.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..812d3a64eee17f869b6603d48eb8e3556dbd693d |
--- /dev/null |
+++ b/tools/clang/blink_gc_plugin/BlinkGCPluginOptions.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef TOOLS_BLINK_GC_PLUGIN_BLINK_GC_PLUGIN_OPTIONS_H_ |
+#define TOOLS_BLINK_GC_PLUGIN_BLINK_GC_PLUGIN_OPTIONS_H_ |
+ |
+#include <set> |
+#include <string> |
+#include <vector> |
+ |
+struct BlinkGCPluginOptions { |
+ BlinkGCPluginOptions() |
+ : enable_oilpan(false), |
+ dump_graph(false), |
+ warn_raw_ptr(false), |
+ warn_unneeded_finalizer(false) {} |
+ bool enable_oilpan; |
+ bool dump_graph; |
+ bool warn_raw_ptr; |
+ bool warn_unneeded_finalizer; |
+ std::set<std::string> ignored_classes; |
+ std::set<std::string> checked_namespaces; |
+ std::vector<std::string> ignored_directories; |
+}; |
+ |
+#endif // TOOLS_BLINK_GC_PLUGIN_BLINK_GC_PLUGIN_OPTIONS_H_ |