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

Side by Side Diff: chrome/browser/chromeos/cros/cert_library.h

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/certificate_viewer.cc ('k') | chrome/browser/chromeos/cros/cert_library.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/string16.h" 10 #include "base/string16.h"
11 #include "net/base/x509_certificate.h" 11 #include "net/cert/x509_certificate.h"
12 12
13 namespace crypto { 13 namespace crypto {
14 class SymmetricKey; 14 class SymmetricKey;
15 } 15 }
16 16
17 namespace chromeos { 17 namespace chromeos {
18 18
19 class CertLibrary { 19 class CertLibrary {
20 public: 20 public:
21 21
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 virtual std::string EncryptWithUserKey(const std::string& token) = 0; 115 virtual std::string EncryptWithUserKey(const std::string& token) = 0;
116 116
117 // Decrypts |token| with supplemental user key (unique for each user). 117 // Decrypts |token| with supplemental user key (unique for each user).
118 virtual std::string DecryptWithUserKey( 118 virtual std::string DecryptWithUserKey(
119 const std::string& encrypted_token_hex) = 0; 119 const std::string& encrypted_token_hex) = 0;
120 }; 120 };
121 121
122 } // namespace chromeos 122 } // namespace chromeos
123 123
124 #endif // CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_ 124 #endif // CHROME_BROWSER_CHROMEOS_CROS_CERT_LIBRARY_H_
OLDNEW
« no previous file with comments | « chrome/browser/certificate_viewer.cc ('k') | chrome/browser/chromeos/cros/cert_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698