| 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"); | |
| 117 ignored_record_names_.insert("AutoCallbackRunner"); | 116 ignored_record_names_.insert("AutoCallbackRunner"); |
| 118 | 117 |
| 119 // Has a UNIT_TEST only constructor. Isn't *terribly* complex... | 118 // Has a UNIT_TEST only constructor. Isn't *terribly* complex... |
| 120 ignored_record_names_.insert("AutocompleteController"); | 119 ignored_record_names_.insert("AutocompleteController"); |
| 121 ignored_record_names_.insert("HistoryURLProvider"); | 120 ignored_record_names_.insert("HistoryURLProvider"); |
| 122 | 121 |
| 123 // Because of chrome frame | 122 // Because of chrome frame |
| 124 ignored_record_names_.insert("ReliabilityTestSuite"); | 123 ignored_record_names_.insert("ReliabilityTestSuite"); |
| 125 | 124 |
| 126 // Used over in the net unittests. A large enough bundle of integers with 1 | 125 // 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... |
| 278 } | 277 } |
| 279 } | 278 } |
| 280 } | 279 } |
| 281 | 280 |
| 282 return false; | 281 return false; |
| 283 } | 282 } |
| 284 | 283 |
| 285 bool ChromeClassTester::IsIgnoredType(const std::string& base_name) { | 284 bool ChromeClassTester::IsIgnoredType(const std::string& base_name) { |
| 286 return ignored_record_names_.find(base_name) != ignored_record_names_.end(); | 285 return ignored_record_names_.find(base_name) != ignored_record_names_.end(); |
| 287 } | 286 } |
| OLD | NEW |