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

Side by Side Diff: chromeos/dbus/cryptohome_client.h

Issue 2808423002: cros: Show dircryto migration banner (Closed)
Patch Set: add a test, fix nits Created 3 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | chromeos/dbus/cryptohome_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_
6 #define CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_ 6 #define CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 const ProtobufMethodCallback& callback) = 0; 587 const ProtobufMethodCallback& callback) = 0;
588 588
589 // Asynchronously calls SetFirmwareManagementParameters method. |callback| 589 // Asynchronously calls SetFirmwareManagementParameters method. |callback|
590 // is called after method call, and with reply protobuf. |request| contains 590 // is called after method call, and with reply protobuf. |request| contains
591 // the flags to be set. SetFirmwareManagementParameters creates the firmware 591 // the flags to be set. SetFirmwareManagementParameters creates the firmware
592 // management parameters in TPM and sets flags included in the request. 592 // management parameters in TPM and sets flags included in the request.
593 virtual void SetFirmwareManagementParametersInTpm( 593 virtual void SetFirmwareManagementParametersInTpm(
594 const cryptohome::SetFirmwareManagementParametersRequest& request, 594 const cryptohome::SetFirmwareManagementParametersRequest& request,
595 const ProtobufMethodCallback& callback) = 0; 595 const ProtobufMethodCallback& callback) = 0;
596 596
597 // Calls NeedsDircryptoMigration to find out whether the given user needs
598 // dircrypto migration.
599 virtual void NeedsDircryptoMigration(
600 const cryptohome::Identification& cryptohome_id,
601 const BoolDBusMethodCallback& callback) = 0;
602
597 protected: 603 protected:
598 // Create() should be used instead. 604 // Create() should be used instead.
599 CryptohomeClient(); 605 CryptohomeClient();
600 606
601 private: 607 private:
602 DISALLOW_COPY_AND_ASSIGN(CryptohomeClient); 608 DISALLOW_COPY_AND_ASSIGN(CryptohomeClient);
603 }; 609 };
604 610
605 } // namespace chromeos 611 } // namespace chromeos
606 612
607 #endif // CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_ 613 #endif // CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | chromeos/dbus/cryptohome_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698