| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 TOOLS_BLINK_GC_PLUGIN_BLINK_GC_PLUGIN_OPTIONS_H_ | 5 #ifndef TOOLS_BLINK_GC_PLUGIN_BLINK_GC_PLUGIN_OPTIONS_H_ |
| 6 #define TOOLS_BLINK_GC_PLUGIN_BLINK_GC_PLUGIN_OPTIONS_H_ | 6 #define TOOLS_BLINK_GC_PLUGIN_BLINK_GC_PLUGIN_OPTIONS_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 struct BlinkGCPluginOptions { | 12 struct BlinkGCPluginOptions { |
| 13 BlinkGCPluginOptions() | 13 BlinkGCPluginOptions() |
| 14 : enable_oilpan(false), | 14 : dump_graph(false), |
| 15 dump_graph(false), | |
| 16 warn_raw_ptr(false), | 15 warn_raw_ptr(false), |
| 17 warn_unneeded_finalizer(false) {} | 16 warn_unneeded_finalizer(false) {} |
| 18 bool enable_oilpan; | |
| 19 bool dump_graph; | 17 bool dump_graph; |
| 20 bool warn_raw_ptr; | 18 bool warn_raw_ptr; |
| 21 bool warn_unneeded_finalizer; | 19 bool warn_unneeded_finalizer; |
| 22 std::set<std::string> ignored_classes; | 20 std::set<std::string> ignored_classes; |
| 23 std::set<std::string> checked_namespaces; | 21 std::set<std::string> checked_namespaces; |
| 24 std::vector<std::string> ignored_directories; | 22 std::vector<std::string> ignored_directories; |
| 25 }; | 23 }; |
| 26 | 24 |
| 27 #endif // TOOLS_BLINK_GC_PLUGIN_BLINK_GC_PLUGIN_OPTIONS_H_ | 25 #endif // TOOLS_BLINK_GC_PLUGIN_BLINK_GC_PLUGIN_OPTIONS_H_ |
| OLD | NEW |