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

Side by Side Diff: chromeos_cryptohome.h

Issue 6602089: Added CryptohomeDoAutomaticFreeDiskSpaceControl() (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cros.git@master
Patch Set: sync Created 9 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
« no previous file with comments | « chromeos_cros_api.h ('k') | chromeos_cryptohome.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) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS 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_CRYPTOHOME_H_ 5 #ifndef CHROMEOS_CRYPTOHOME_H_
6 #define CHROMEOS_CRYPTOHOME_H_ 6 #define CHROMEOS_CRYPTOHOME_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 const char* user_email, 73 const char* user_email,
74 const char* key, 74 const char* key,
75 bool create_if_missing, 75 bool create_if_missing,
76 bool replace_tracked_subdirectories, 76 bool replace_tracked_subdirectories,
77 const char** tracked_subdirectories); 77 const char** tracked_subdirectories);
78 extern bool (*CryptohomeMountGuest)(int* mount_error); 78 extern bool (*CryptohomeMountGuest)(int* mount_error);
79 extern int (*CryptohomeAsyncMountGuest)(); 79 extern int (*CryptohomeAsyncMountGuest)();
80 extern bool (*CryptohomeUnmount)(); 80 extern bool (*CryptohomeUnmount)();
81 extern bool (*CryptohomeRemoveTrackedSubdirectories)(); 81 extern bool (*CryptohomeRemoveTrackedSubdirectories)();
82 extern int (*CryptohomeAsyncRemoveTrackedSubdirectories)(); 82 extern int (*CryptohomeAsyncRemoveTrackedSubdirectories)();
83 extern bool (*CryptohomeDoAutomaticFreeDiskSpaceControl)();
84 extern int (*CryptohomeAsyncDoAutomaticFreeDiskSpaceControl)();
83 extern bool (*CryptohomeTpmIsReady)(); 85 extern bool (*CryptohomeTpmIsReady)();
84 extern bool (*CryptohomeTpmIsEnabled)(); 86 extern bool (*CryptohomeTpmIsEnabled)();
85 extern bool (*CryptohomeTpmIsOwned)(); 87 extern bool (*CryptohomeTpmIsOwned)();
86 extern bool (*CryptohomeTpmIsBeingOwned)(); 88 extern bool (*CryptohomeTpmIsBeingOwned)();
87 extern bool (*CryptohomeTpmGetPassword)(std::string* password); 89 extern bool (*CryptohomeTpmGetPassword)(std::string* password);
88 extern bool (*CryptohomeTpmGetPasswordSafe)(char** password); 90 extern bool (*CryptohomeTpmGetPasswordSafe)(char** password);
89 extern void (*CryptohomeTpmCanAttemptOwnership)(); 91 extern void (*CryptohomeTpmCanAttemptOwnership)();
90 extern void (*CryptohomeTpmClearStoredPassword)(); 92 extern void (*CryptohomeTpmClearStoredPassword)();
91 extern bool (*CryptohomeGetStatusString)(std::string* status); 93 extern bool (*CryptohomeGetStatusString)(std::string* status);
92 extern bool (*CryptohomeGetStatusStringSafe)(char** status); 94 extern bool (*CryptohomeGetStatusStringSafe)(char** status);
93 95
94 extern void (*CryptohomeFreeString)(char* value); 96 extern void (*CryptohomeFreeString)(char* value);
95 extern void (*CryptohomeFreeBlob)(char* blob); 97 extern void (*CryptohomeFreeBlob)(char* blob);
96 98
97 typedef void(*CryptohomeSignalCallback)( 99 typedef void(*CryptohomeSignalCallback)(
98 const CryptohomeAsyncCallStatus& call_status, void* callback_context); 100 const CryptohomeAsyncCallStatus& call_status, void* callback_context);
99 101
100 extern void* (*CryptohomeMonitorSession)( 102 extern void* (*CryptohomeMonitorSession)(
101 CryptohomeSignalCallback monitor, 103 CryptohomeSignalCallback monitor,
102 void* monitor_context); 104 void* monitor_context);
103 extern void (*CryptohomeDisconnectSession)(void* connection); 105 extern void (*CryptohomeDisconnectSession)(void* connection);
104 106
105 } // namespace chromeos 107 } // namespace chromeos
106 108
107 #endif // CHROMEOS_CRYPTOHOME_H_ 109 #endif // CHROMEOS_CRYPTOHOME_H_
OLDNEW
« no previous file with comments | « chromeos_cros_api.h ('k') | chromeos_cryptohome.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698