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

Unified Diff: sync/util/nigori.h

Issue 10878015: [Sync] Move keystore key handling to SyncEncryptionHandlerImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + fix cryptographer Created 8 years, 4 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
« sync/util/cryptographer.cc ('K') | « sync/util/cryptographer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/util/nigori.h
diff --git a/sync/util/nigori.h b/sync/util/nigori.h
index a33f0b61624da15ca5c8da8f328adbaf05f63121..768662c3f9bb10066a2ad37db1606186ebfe7fff 100644
--- a/sync/util/nigori.h
+++ b/sync/util/nigori.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/memory/scoped_ptr.h"
+#include "base/memory/weak_ptr.h"
namespace crypto {
class SymmetricKey;
@@ -24,7 +25,7 @@ namespace syncer {
// and retrieve the secret.
//
// TODO: Link to doc.
-class Nigori {
+class Nigori : public base::SupportsWeakPtr<Nigori> {
public:
enum Type {
Password = 1,
« sync/util/cryptographer.cc ('K') | « sync/util/cryptographer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698