| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef EXTENSIONS_BROWSER_CONTENT_VERIFIER_FILTER_H_ | |
| 6 #define EXTENSIONS_BROWSER_CONTENT_VERIFIER_FILTER_H_ | |
| 7 | |
| 8 #include "base/bind.h" | |
| 9 #include "base/callback.h" | |
| 10 | |
| 11 namespace extensions { | |
| 12 | |
| 13 class Extension; | |
| 14 | |
| 15 // A callback function for deciding if a given extension should have it's | |
| 16 // content verified or not. Returning true means "yes, it should be verified". | |
| 17 // | |
| 18 // This function should be prepared to be called on any thread. | |
| 19 typedef base::Callback<bool(const Extension*)> ContentVerifierFilter; | |
| 20 | |
| 21 } // namespace extensions | |
| 22 | |
| 23 #endif // EXTENSIONS_BROWSER_CONTENT_VERIFIER_FILTER_H_ | |
| OLD | NEW |