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

Side by Side Diff: content/public/browser/cookie_crypto_delegate.h

Issue 24734007: Encrypt all stored cookies on selected operating systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: scan raw DB file for values to ensure encyrption Created 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 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 CONTENT_PUBLIC_BROWSER_COOKIE_CRYPTO_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_COOKIE_CRYPTO_DELEGATE_H_
7
8 namespace content {
9
10 // This class provides an interface that the persistent cookies store can use
erikwright (departed) 2013/10/22 23:58:14 // Implements encryption and decryption for the pe
bcwhite 2013/10/23 19:36:23 Done.
11 // in order to protect the cookie values.
12 class CookieCryptoDelegate {
13 public:
14 virtual ~CookieCryptoDelegate() {}
15 virtual bool EncryptString(const std::string& plaintext,
16 std::string* ciphertext) = 0;
17 virtual bool DecryptString(const std::string& ciphertext,
18 std::string* plaintext) = 0;
19 };
20
21 } // namespace content
22
23 #endif // CONTENT_PUBLIC_BROWSER_COOKIE_CRYPTO_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698