Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1464)

Unified Diff: chrome/browser/website_settings_model_unittest.cc

Issue 9691003: Add Content API around CertStore. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix clang Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/website_settings_model.cc ('k') | content/browser/cert_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/website_settings_model_unittest.cc
===================================================================
--- chrome/browser/website_settings_model_unittest.cc (revision 126145)
+++ chrome/browser/website_settings_model_unittest.cc (working copy)
@@ -7,7 +7,7 @@
#include "base/at_exit.h"
#include "base/utf_string_conversions.h"
#include "chrome/test/base/testing_profile.h"
-#include "content/browser/cert_store.h"
+#include "content/public/browser/cert_store.h"
#include "content/public/common/ssl_status.h"
#include "net/base/cert_status_flags.h"
#include "net/base/ssl_connection_status_flags.h"
@@ -38,12 +38,11 @@
return cipher_suite | connection_status;
}
-class MockCertStore : public CertStore {
+class MockCertStore : public content::CertStore {
public:
virtual ~MockCertStore() {}
MOCK_METHOD2(StoreCert, int(net::X509Certificate*, int));
MOCK_METHOD2(RetrieveCert, bool(int, scoped_refptr<net::X509Certificate>*));
- MOCK_METHOD1(RemoveCertsForRenderProcesHost, void(int));
};
class WebsiteSettingsModelTest : public testing::Test {
« no previous file with comments | « chrome/browser/website_settings_model.cc ('k') | content/browser/cert_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698