Chromium Code Reviews| 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, |