Use Persistent::Reset.
[chromium-blink-merge.git] / chromeos / network / mock_certificate_handler.h
bloba73b7a2c75237b23af5210992ec9f71c557883eb
1 // Copyright (c) 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_MOCK_CERTIFICATE_HANDLER_H_
6 #define CHROMEOS_NETWORK_MOCK_CERTIFICATE_HANDLER_H_
8 #include "base/values.h"
9 #include "chromeos/chromeos_export.h"
10 #include "chromeos/network/certificate_handler.h"
11 #include "testing/gmock/include/gmock/gmock.h"
13 namespace chromeos {
15 class CHROMEOS_EXPORT MockCertificateHandler : public CertificateHandler {
16 public:
17 MockCertificateHandler();
18 virtual ~MockCertificateHandler();
19 MOCK_METHOD3(ImportCertificates, bool(const base::ListValue&,
20 onc::ONCSource,
21 net::CertificateList*));
22 private:
23 DISALLOW_COPY_AND_ASSIGN(MockCertificateHandler);
26 } // chromeos
28 #endif // CHROMEOS_NETWORK_MOCK_CERTIFICATE_HANDLER_H_