| Index: chrome/browser/certificate_manager_model.h
|
| diff --git a/chrome/browser/certificate_manager_model.h b/chrome/browser/certificate_manager_model.h
|
| index 34d0f0786f29b2491e918d725508f12be2c90234..ec904ed83d2f0485a91e1f869b43298a093420f0 100644
|
| --- a/chrome/browser/certificate_manager_model.h
|
| +++ b/chrome/browser/certificate_manager_model.h
|
| @@ -11,13 +11,18 @@
|
| #include "base/callback.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/strings/string16.h"
|
| #include "net/cert/nss_cert_database.h"
|
|
|
| +namespace cert_database {
|
| +class CertDatabaseServiceIOPart;
|
| +}
|
| +
|
| namespace content {
|
| class BrowserContext;
|
| class ResourceContext;
|
| -} // namespace content
|
| +}
|
|
|
| // CertificateManagerModel provides the data to be displayed in the certificate
|
| // manager dialog, and processes changes from the view.
|
| @@ -141,9 +146,11 @@ class CertificateManagerModel {
|
| CertificateManagerModel::Observer* observer,
|
| const CreationCallback& callback,
|
| net::NSSCertDatabase* cert_db);
|
| - static void GetCertDBOnIOThread(content::ResourceContext* context,
|
| - CertificateManagerModel::Observer* observer,
|
| - const CreationCallback& callback);
|
| + static void GetCertDBOnIOThread(
|
| + base::WeakPtr<cert_database::CertDatabaseServiceIOPart>
|
| + cert_db_service_io,
|
| + CertificateManagerModel::Observer* observer,
|
| + const CreationCallback& callback);
|
|
|
| // Callback used by Refresh() for when the cert slots have been unlocked.
|
| // This method does the actual refreshing.
|
|
|