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

Unified Diff: chrome/utility/importer/nss_decryptor.h

Issue 881213004: Support building BoringSSL with NSS certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 8 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/utility/BUILD.gn ('k') | chrome/utility/importer/nss_decryptor_null.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/importer/nss_decryptor.h
diff --git a/chrome/utility/importer/nss_decryptor.h b/chrome/utility/importer/nss_decryptor.h
index 5c3611286ac3f714b86245a7d2ffb35e2ad4c040..d53e640b5139932c29398751e7f865afe5aa6bb2 100644
--- a/chrome/utility/importer/nss_decryptor.h
+++ b/chrome/utility/importer/nss_decryptor.h
@@ -11,15 +11,10 @@
#include "chrome/utility/importer/nss_decryptor_mac.h"
#elif defined(OS_WIN)
#include "chrome/utility/importer/nss_decryptor_win.h"
-#elif defined(USE_OPENSSL)
-// TODO(joth): It should be an error to include this file with USE_OPENSSL
-// defined. (Unless there is a way to do nss decrypt with OpenSSL). Ideally
-// we remove the importers that depend on NSS when doing USE_OPENSSL builds, but
-// that is going to take some non-trivial refactoring so in the meantime we're
-// just falling back to a no-op implementation.
-#include "chrome/utility/importer/nss_decryptor_null.h"
#elif defined(USE_NSS_CERTS)
#include "chrome/utility/importer/nss_decryptor_system_nss.h"
+#else
+#error NSSDecryptor not implemented.
#endif
#endif // CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_H_
« no previous file with comments | « chrome/utility/BUILD.gn ('k') | chrome/utility/importer/nss_decryptor_null.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698