Chromium Code Reviews| Index: chrome/browser/chromeos/attestation/attestation_ca_client.cc |
| diff --git a/chrome/browser/chromeos/attestation/attestation_ca_client.cc b/chrome/browser/chromeos/attestation/attestation_ca_client.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..02387a34ac33c0b93d3be0a5963ce599468d50fd |
| --- /dev/null |
| +++ b/chrome/browser/chromeos/attestation/attestation_ca_client.cc |
| @@ -0,0 +1,36 @@ |
| +// Copyright (c) 2013 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. |
| + |
| +#include "chrome/browser/chromeos/attestation/attestation_ca_client.h" |
| + |
| +#include <string> |
| + |
| +#include "base/bind.h" |
| +#include "base/message_loop.h" |
| + |
| +using std::string; |
| + |
| +namespace chromeos { |
| +namespace attestation { |
| + |
| +AttestationCAClient::AttestationCAClient() {} |
| +AttestationCAClient::~AttestationCAClient() {} |
| + |
| +void AttestationCAClient::SendEnrollRequest(const string& request, |
| + const DataCallback& on_response) { |
| + // TODO(dkrahn): Implement. |
|
Mattias Nissler (ping if slow)
2013/03/27 14:16:34
Might want to just put a NOTIMPLEMENTED() here for
dkrahn
2013/03/27 21:20:44
Done.
|
| + MessageLoop::current()->PostTask(FROM_HERE, |
| + base::Bind(on_response, false, string())); |
| +} |
| + |
| +void AttestationCAClient::SendCertificateRequest( |
| + const string& request, |
| + const DataCallback& on_response) { |
| + // TODO(dkrahn): Implement. |
| + MessageLoop::current()->PostTask(FROM_HERE, |
| + base::Bind(on_response, false, string())); |
| +} |
| + |
| +} // namespace attestation |
| +} // namespace chromeos |