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

Side by Side Diff: chrome/browser/chromeos/attestation/attestation_ca_client.cc

Issue 12556004: Created AttestationPolicyObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #include "chrome/browser/chromeos/attestation/attestation_ca_client.h"
6
7 #include <string>
8
9 #include "base/bind.h"
10 #include "base/message_loop.h"
11
12 using std::string;
13
14 namespace chromeos {
15 namespace attestation {
16
17 AttestationCAClient::AttestationCAClient() {}
18 AttestationCAClient::~AttestationCAClient() {}
19
20 void AttestationCAClient::SendEnrollRequest(const string& request,
21 const DataCallback& on_response) {
22 // 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.
23 MessageLoop::current()->PostTask(FROM_HERE,
24 base::Bind(on_response, false, string()));
25 }
26
27 void AttestationCAClient::SendCertificateRequest(
28 const string& request,
29 const DataCallback& on_response) {
30 // TODO(dkrahn): Implement.
31 MessageLoop::current()->PostTask(FROM_HERE,
32 base::Bind(on_response, false, string()));
33 }
34
35 } // namespace attestation
36 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698