| Index: chrome/browser/chromeos/net/cert_profile_filter.h
|
| diff --git a/chrome/browser/chromeos/net/cert_profile_filter.h b/chrome/browser/chromeos/net/cert_profile_filter.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f477aed2d2ead4ec4b398b86a522ad0ee2e32617
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/net/cert_profile_filter.h
|
| @@ -0,0 +1,33 @@
|
| +// 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 CHROME_BROWSER_CHROMEOS_NET_CERT_PROFILE_FILTER_H_
|
| +#define CHROME_BROWSER_CHROMEOS_NET_CERT_PROFILE_FILTER_H_
|
| +
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/weak_ptr.h"
|
| +
|
| +namespace cert_database {
|
| +class CertDatabaseServiceIOPart;
|
| +}
|
| +
|
| +namespace net {
|
| +class NSSProfileFilterChromeOSFactory;
|
| +}
|
| +
|
| +namespace chromeos {
|
| +
|
| +// Creates a factory for filters that accept any certificate that is available
|
| +// to the given CertDatabase and accordingly to the user of the owning
|
| +// BrowserContext. That means, that the public, private and system slot are used
|
| +// if available.
|
| +// If an error occurs during filter creation, then an empty filter will be
|
| +// returned, see the default constructor of NSSProfileFilterChromeOS.
|
| +scoped_ptr<net::NSSProfileFilterChromeOSFactory>
|
| +CreateProfileFilterFactoryAcceptAllSlots(
|
| + const base::WeakPtr<cert_database::CertDatabaseServiceIOPart>& cert_db_io);
|
| +
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROME_BROWSER_CHROMEOS_NET_CERT_PROFILE_FILTER_H_
|
|
|