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

Side by Side Diff: chromeos/network/onc/mock_certificate_importer.h

Issue 580283005: Revert of Make ONCCertificateImporter async. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nss_util_deadcode
Patch Set: Created 6 years, 3 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 | « chromeos/chromeos.gyp ('k') | chromeos/network/onc/mock_certificate_importer.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 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 CHROMEOS_NETWORK_ONC_MOCK_CERTIFICATE_IMPORTER_H_
6 #define CHROMEOS_NETWORK_ONC_MOCK_CERTIFICATE_IMPORTER_H_
7
8 #include "base/basictypes.h"
9 #include "base/values.h"
10 #include "chromeos/chromeos_export.h"
11 #include "chromeos/network/onc/onc_certificate_importer.h"
12 #include "testing/gmock/include/gmock/gmock.h"
13
14 namespace chromeos {
15 namespace onc {
16
17 class CHROMEOS_EXPORT MockCertificateImporter : public CertificateImporter {
18 public:
19 MockCertificateImporter();
20 virtual ~MockCertificateImporter();
21 MOCK_METHOD3(ImportCertificates, bool(const base::ListValue&,
22 ::onc::ONCSource,
23 net::CertificateList*));
24 private:
25 DISALLOW_COPY_AND_ASSIGN(MockCertificateImporter);
26 };
27
28 } // namespace onc
29 } // namespace chromeos
30
31 #endif // CHROMEOS_NETWORK_ONC_MOCK_CERTIFICATE_IMPORTER_H_
OLDNEW
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/network/onc/mock_certificate_importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698