| Index: extensions/browser/content_verifier_filter.h
|
| diff --git a/extensions/browser/content_verifier_filter.h b/extensions/browser/content_verifier_filter.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6327d1fb80b19e9317bbc8a906328e65cd4bd3e4
|
| --- /dev/null
|
| +++ b/extensions/browser/content_verifier_filter.h
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2014 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 EXTENSIONS_BROWSER_CONTENT_VERIFIER_FILTER_H_
|
| +#define EXTENSIONS_BROWSER_CONTENT_VERIFIER_FILTER_H_
|
| +
|
| +#include "base/bind.h"
|
| +#include "base/callback.h"
|
| +
|
| +namespace extensions {
|
| +
|
| +class Extension;
|
| +
|
| +// A callback function for deciding if a given extension should have it's
|
| +// content verified or not. Returning true means "yes, it should be verified".
|
| +//
|
| +// This function should be prepared to be called on any thread.
|
| +typedef base::Callback<bool(const Extension*)> ContentVerifierFilter;
|
| +
|
| +} // namespace extensions
|
| +
|
| +#endif // EXTENSIONS_BROWSER_CONTENT_VERIFIER_FILTER_H_
|
|
|