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

Unified Diff: sync/test/engine/simple_cryptographer_provider.h

Issue 452283003: sync: Finish non-blocking type encryption support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cryptographer testing Created 6 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
« no previous file with comments | « sync/sync_tests.gypi ('k') | sync/test/engine/simple_cryptographer_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/simple_cryptographer_provider.h
diff --git a/sync/test/engine/simple_cryptographer_provider.h b/sync/test/engine/simple_cryptographer_provider.h
deleted file mode 100644
index b23c5c436106f4cd8db0cc3ec717783df2f77757..0000000000000000000000000000000000000000
--- a/sync/test/engine/simple_cryptographer_provider.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SYNC_TEST_ENGINE_SIMPLE_CRYPTOGRAPHER_PROVIDER_H_
-#define SYNC_TEST_ENGINE_SIMPLE_CRYPTOGRAPHER_PROVIDER_H_
-
-#include "sync/engine/cryptographer_provider.h"
-
-#include "sync/util/cryptographer.h"
-
-namespace syncer {
-
-// A trivial cryptographer provider. Exposes the given Cryptographer through
-// the CryptographerProvider interface. Does not take ownership of the
-// |cryptographer|.
-class SimpleCryptographerProvider : public CryptographerProvider {
- public:
- explicit SimpleCryptographerProvider(Cryptographer* cryptographer);
- virtual ~SimpleCryptographerProvider();
-
- // Implementation of CryptographerProvider.
- virtual bool InitScopedCryptographerRef(
- ScopedCryptographerRef* scoped) OVERRIDE;
-
- private:
- Cryptographer* cryptographer_;
-};
-
-class SimpleScopedCryptographerInternal : public ScopedCryptographerInternal {
- public:
- explicit SimpleScopedCryptographerInternal(Cryptographer* cryptographer);
- virtual ~SimpleScopedCryptographerInternal();
-
- // Implementation of ScopedCryptographerInternal.
- virtual Cryptographer* Get() const OVERRIDE;
-
- private:
- Cryptographer* cryptographer_;
-};
-
-} // namespace syncer
-
-#endif // SYNC_TEST_ENGINE_SIMPLE_CRYPTOGRAPHER_PROVIDER_H_
« no previous file with comments | « sync/sync_tests.gypi ('k') | sync/test/engine/simple_cryptographer_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698