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

Side by Side Diff: chrome/browser/importer/nss_decryptor_null.h

Issue 3855004: Make USE_OPENSSL and USE_NSS mutually exclusive (Closed)
Patch Set: wtc comments Created 10 years, 2 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/importer/nss_decryptor.h ('k') | chrome/browser/sync/util/nigori.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_IMPORTER_NSS_DECRYPTOR_NULL_H_
6 #define CHROME_BROWSER_IMPORTER_NSS_DECRYPTOR_NULL_H_
7 #pragma once
8
9 #include <string>
10 #include <vector>
11
12 #include "base/basictypes.h"
13 #include "base/string16.h"
14
15 class FilePath;
16
17 namespace webkit_glue {
18 struct PasswordForm;
19 }
20
21 // A NULL wrapper for Firefox NSS decrypt component, for use in builds where
22 // we do not have the NSS library.
23 class NSSDecryptor {
24 public:
25 NSSDecryptor() {}
26 bool Init(const std::wstring& /* dll_path */,
27 const std::wstring& db_path) { return false; }
28 string16 Decrypt(const std::string& crypt) const { return string16(); }
29 void ParseSignons(const std::string& content,
30 std::vector<webkit_glue::PasswordForm>* forms) {}
31 bool ReadAndParseSignons(const FilePath& sqlite_file,
32 std::vector<webkit_glue::PasswordForm>* forms) {
33 return false;
34 }
35
36 private:
37 DISALLOW_COPY_AND_ASSIGN(NSSDecryptor);
38 };
39
40 #endif // CHROME_BROWSER_IMPORTER_NSS_DECRYPTOR_NULL_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/nss_decryptor.h ('k') | chrome/browser/sync/util/nigori.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698