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

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

Issue 12556004: Created AttestationPolicyObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 #ifndef CHROME_BROWSER_CHROMEOS_ATTESTATION_ATTESTATION_CA_CLIENT_H_
6 #define CHROME_BROWSER_CHROMEOS_ATTESTATION_ATTESTATION_CA_CLIENT_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11
12 #include "chromeos/attestation/attestation_flow.h"
13
14 namespace chromeos {
15 namespace attestation {
16
17 // This class is a ServerProxy implementation for the Chrome OS attestation
18 // flow. It sends all requests to an Attestation CA via HTTPS.
19 class AttestationCAClient : public ServerProxy {
20 public:
21 AttestationCAClient();
22 virtual ~AttestationCAClient();
23
24 // chromeos::attestation::ServerProxy:
25 virtual void SendEnrollRequest(const std::string& request,
26 const DataCallback& on_response) OVERRIDE;
27 virtual void SendCertificateRequest(const std::string& request,
28 const DataCallback& on_response) OVERRIDE;
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(AttestationCAClient);
32 };
33
34 } // namespace attestation
35 } // namespace chromeos
36
37 #endif // CHROME_BROWSER_CHROMEOS_ATTESTATION_ATTESTATION_CA_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/attestation/OWNERS ('k') | chrome/browser/chromeos/attestation/attestation_ca_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698