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

Unified Diff: chrome/utility/importer/nss_decryptor_null.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/importer/nss_decryptor.h ('k') | components/webcrypto/test/test_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/importer/nss_decryptor_null.h
diff --git a/chrome/utility/importer/nss_decryptor_null.h b/chrome/utility/importer/nss_decryptor_null.h
deleted file mode 100644
index e99334badf09c7b88ec98dcaa082b97cc45a178d..0000000000000000000000000000000000000000
--- a/chrome/utility/importer/nss_decryptor_null.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2011 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_UTILITY_IMPORTER_NSS_DECRYPTOR_NULL_H_
-#define CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_NULL_H_
-
-#include <string>
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/strings/string16.h"
-
-namespace autofill {
-struct PasswordForm;
-}
-
-namespace base {
-class FilePath;
-}
-
-// A NULL wrapper for Firefox NSS decrypt component, for use in builds where
-// we do not have the NSS library.
-class NSSDecryptor {
- public:
- NSSDecryptor() {}
- bool Init(const base::FilePath& dll_path, const base::FilePath& db_path) {
- return false;
- }
- base::string16 Decrypt(const std::string& crypt) const {
- return base::string16();
- }
- void ParseSignons(const std::string& content,
- std::vector<autofill::PasswordForm>* forms) {}
- bool ReadAndParseSignons(const base::FilePath& sqlite_file,
- std::vector<autofill::PasswordForm>* forms) {
- return false;
- }
-
- private:
- DISALLOW_COPY_AND_ASSIGN(NSSDecryptor);
-};
-
-#endif // CHROME_UTILITY_IMPORTER_NSS_DECRYPTOR_NULL_H_
« no previous file with comments | « chrome/utility/importer/nss_decryptor.h ('k') | components/webcrypto/test/test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698