| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // A general interface for filtering and only acting on classes in Chromium C++ | 5 // A general interface for filtering and only acting on classes in Chromium C++ |
| 6 // code. | 6 // code. |
| 7 | 7 |
| 8 #include "ChromeClassTester.h" | 8 #include "ChromeClassTester.h" |
| 9 | 9 |
| 10 #include <sys/param.h> | 10 #include <sys/param.h> |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 ignored_record_names_.insert("ThreadLocalBoolean"); | 106 ignored_record_names_.insert("ThreadLocalBoolean"); |
| 107 | 107 |
| 108 // A complicated pickle derived struct that is all packed integers. | 108 // A complicated pickle derived struct that is all packed integers. |
| 109 ignored_record_names_.insert("Header"); | 109 ignored_record_names_.insert("Header"); |
| 110 | 110 |
| 111 // Part of the GPU system that uses multiple included header | 111 // Part of the GPU system that uses multiple included header |
| 112 // weirdness. Never getting this right. | 112 // weirdness. Never getting this right. |
| 113 ignored_record_names_.insert("Validators"); | 113 ignored_record_names_.insert("Validators"); |
| 114 | 114 |
| 115 // RAII class that's simple enough (media/base/callback.h). | 115 // RAII class that's simple enough (media/base/callback.h). |
| 116 ignored_record_names_.insert("AutoTaskRunner"); |
| 116 ignored_record_names_.insert("AutoCallbackRunner"); | 117 ignored_record_names_.insert("AutoCallbackRunner"); |
| 117 | 118 |
| 118 // Has a UNIT_TEST only constructor. Isn't *terribly* complex... | 119 // Has a UNIT_TEST only constructor. Isn't *terribly* complex... |
| 119 ignored_record_names_.insert("AutocompleteController"); | 120 ignored_record_names_.insert("AutocompleteController"); |
| 120 ignored_record_names_.insert("HistoryURLProvider"); | 121 ignored_record_names_.insert("HistoryURLProvider"); |
| 121 | 122 |
| 122 // Because of chrome frame | 123 // Because of chrome frame |
| 123 ignored_record_names_.insert("ReliabilityTestSuite"); | 124 ignored_record_names_.insert("ReliabilityTestSuite"); |
| 124 | 125 |
| 125 // Used over in the net unittests. A large enough bundle of integers with 1 | 126 // Used over in the net unittests. A large enough bundle of integers with 1 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 } | 278 } |
| 278 } | 279 } |
| 279 } | 280 } |
| 280 | 281 |
| 281 return false; | 282 return false; |
| 282 } | 283 } |
| 283 | 284 |
| 284 bool ChromeClassTester::IsIgnoredType(const std::string& base_name) { | 285 bool ChromeClassTester::IsIgnoredType(const std::string& base_name) { |
| 285 return ignored_record_names_.find(base_name) != ignored_record_names_.end(); | 286 return ignored_record_names_.find(base_name) != ignored_record_names_.end(); |
| 286 } | 287 } |
| OLD | NEW |