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

Unified 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698