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.
5 #ifndef CHROMEOS_NETWORK_ONC_MOCK_CERTIFICATE_IMPORTER_H_
6 #define CHROMEOS_NETWORK_ONC_MOCK_CERTIFICATE_IMPORTER_H_
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"
17 class CHROMEOS_EXPORT MockCertificateImporter
: public CertificateImporter
{
19 MockCertificateImporter();
20 virtual ~MockCertificateImporter();
21 MOCK_METHOD3(ImportCertificates
, bool(const base::ListValue
&,
23 net::CertificateList
*));
25 DISALLOW_COPY_AND_ASSIGN(MockCertificateImporter
);
29 } // namespace chromeos
31 #endif // CHROMEOS_NETWORK_ONC_MOCK_CERTIFICATE_IMPORTER_H_