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

Side by Side Diff: components/os_crypt/os_crypt_mocker.h

Issue 2010463002: Mocker for OSCrypt (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated doc Created 4 years, 6 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
« no previous file with comments | « components/os_crypt/BUILD.gn ('k') | components/os_crypt/os_crypt_mocker.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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 COMPONENTS_OS_CRYPT_OS_CRYPT_MOCKER_H_
6 #define COMPONENTS_OS_CRYPT_OS_CRYPT_MOCKER_H_
7
8 #include "base/macros.h"
9
10 // Handles the mocking of OSCrypt, such that it does not reach system level
11 // services.
12 class OSCryptMocker {
13 public:
14 // Inject mocking into OSCrypt.
15 static void SetUpWithSingleton();
16
17 // Restore OSCrypt to its real behaviour.
18 static void TearDown();
19
20 private:
21 DISALLOW_COPY_AND_ASSIGN(OSCryptMocker);
22 };
23
24 #endif // COMPONENTS_OS_CRYPT_OS_CRYPT_MOCKER_H_
OLDNEW
« no previous file with comments | « components/os_crypt/BUILD.gn ('k') | components/os_crypt/os_crypt_mocker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698