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

Side by Side Diff: load.cc

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_cryptohome.cc ('k') | no next file » | 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 #include <cstdio> 5 #include <cstdio>
6 #include <dlfcn.h> 6 #include <dlfcn.h>
7 #include <string.h> 7 #include <string.h>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 const char**, int*); 332 const char**, int*);
333 DECL_FUNC_5(CryptohomeAsyncMount, int, const char*, const char*, bool, bool, 333 DECL_FUNC_5(CryptohomeAsyncMount, int, const char*, const char*, bool, bool,
334 const std::vector<std::string>&); 334 const std::vector<std::string>&);
335 DECL_FUNC_5(CryptohomeAsyncMountSafe, int, const char*, const char*, bool, bool, 335 DECL_FUNC_5(CryptohomeAsyncMountSafe, int, const char*, const char*, bool, bool,
336 const char**); 336 const char**);
337 DECL_FUNC_1(CryptohomeMountGuest, bool, int*); 337 DECL_FUNC_1(CryptohomeMountGuest, bool, int*);
338 DECL_FUNC_0(CryptohomeAsyncMountGuest, int); 338 DECL_FUNC_0(CryptohomeAsyncMountGuest, int);
339 DECL_FUNC_0(CryptohomeUnmount, bool); 339 DECL_FUNC_0(CryptohomeUnmount, bool);
340 DECL_FUNC_0(CryptohomeRemoveTrackedSubdirectories, bool); 340 DECL_FUNC_0(CryptohomeRemoveTrackedSubdirectories, bool);
341 DECL_FUNC_0(CryptohomeAsyncRemoveTrackedSubdirectories, int); 341 DECL_FUNC_0(CryptohomeAsyncRemoveTrackedSubdirectories, int);
342 DECL_FUNC_0(CryptohomeDoAutomaticFreeDiskSpaceControl, bool);
343 DECL_FUNC_0(CryptohomeAsyncDoAutomaticFreeDiskSpaceControl, int);
342 DECL_FUNC_0(CryptohomeTpmIsReady, bool); 344 DECL_FUNC_0(CryptohomeTpmIsReady, bool);
343 DECL_FUNC_0(CryptohomeTpmIsEnabled, bool); 345 DECL_FUNC_0(CryptohomeTpmIsEnabled, bool);
344 DECL_FUNC_0(CryptohomeTpmIsOwned, bool); 346 DECL_FUNC_0(CryptohomeTpmIsOwned, bool);
345 DECL_FUNC_0(CryptohomeTpmIsBeingOwned, bool); 347 DECL_FUNC_0(CryptohomeTpmIsBeingOwned, bool);
346 DECL_FUNC_1(CryptohomeTpmGetPassword, bool, std::string*); 348 DECL_FUNC_1(CryptohomeTpmGetPassword, bool, std::string*);
347 DECL_FUNC_1(CryptohomeTpmGetPasswordSafe, bool, char**); 349 DECL_FUNC_1(CryptohomeTpmGetPasswordSafe, bool, char**);
348 DECL_FUNC_0(CryptohomeTpmCanAttemptOwnership, void); 350 DECL_FUNC_0(CryptohomeTpmCanAttemptOwnership, void);
349 DECL_FUNC_0(CryptohomeTpmClearStoredPassword, void); 351 DECL_FUNC_0(CryptohomeTpmClearStoredPassword, void);
350 DECL_FUNC_1(CryptohomeGetStatusString, bool, std::string*); 352 DECL_FUNC_1(CryptohomeGetStatusString, bool, std::string*);
351 DECL_FUNC_1(CryptohomeGetStatusStringSafe, bool, char**); 353 DECL_FUNC_1(CryptohomeGetStatusStringSafe, bool, char**);
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 INIT_FUNC(CryptohomeMountAllowFail); 612 INIT_FUNC(CryptohomeMountAllowFail);
611 INIT_FUNC(CryptohomeMount); 613 INIT_FUNC(CryptohomeMount);
612 INIT_FUNC(CryptohomeMountSafe); 614 INIT_FUNC(CryptohomeMountSafe);
613 INIT_FUNC(CryptohomeAsyncMount); 615 INIT_FUNC(CryptohomeAsyncMount);
614 INIT_FUNC(CryptohomeAsyncMountSafe); 616 INIT_FUNC(CryptohomeAsyncMountSafe);
615 INIT_FUNC(CryptohomeMountGuest); 617 INIT_FUNC(CryptohomeMountGuest);
616 INIT_FUNC(CryptohomeAsyncMountGuest); 618 INIT_FUNC(CryptohomeAsyncMountGuest);
617 INIT_FUNC(CryptohomeUnmount); 619 INIT_FUNC(CryptohomeUnmount);
618 INIT_FUNC(CryptohomeRemoveTrackedSubdirectories); 620 INIT_FUNC(CryptohomeRemoveTrackedSubdirectories);
619 INIT_FUNC(CryptohomeAsyncRemoveTrackedSubdirectories); 621 INIT_FUNC(CryptohomeAsyncRemoveTrackedSubdirectories);
622 INIT_FUNC(CryptohomeDoAutomaticFreeDiskSpaceControl);
623 INIT_FUNC(CryptohomeAsyncDoAutomaticFreeDiskSpaceControl);
620 INIT_FUNC(CryptohomeTpmIsReady); 624 INIT_FUNC(CryptohomeTpmIsReady);
621 INIT_FUNC(CryptohomeTpmIsEnabled); 625 INIT_FUNC(CryptohomeTpmIsEnabled);
622 INIT_FUNC(CryptohomeTpmIsOwned); 626 INIT_FUNC(CryptohomeTpmIsOwned);
623 INIT_FUNC(CryptohomeTpmIsBeingOwned); 627 INIT_FUNC(CryptohomeTpmIsBeingOwned);
624 INIT_FUNC(CryptohomeTpmGetPassword); 628 INIT_FUNC(CryptohomeTpmGetPassword);
625 INIT_FUNC(CryptohomeTpmGetPasswordSafe); 629 INIT_FUNC(CryptohomeTpmGetPasswordSafe);
626 INIT_FUNC(CryptohomeTpmCanAttemptOwnership); 630 INIT_FUNC(CryptohomeTpmCanAttemptOwnership);
627 INIT_FUNC(CryptohomeTpmClearStoredPassword); 631 INIT_FUNC(CryptohomeTpmClearStoredPassword);
628 INIT_FUNC(CryptohomeGetStatusString); 632 INIT_FUNC(CryptohomeGetStatusString);
629 INIT_FUNC(CryptohomeGetStatusStringSafe); 633 INIT_FUNC(CryptohomeGetStatusStringSafe);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 INIT_FUNC(NotifyNetworkProxyResolved); 681 INIT_FUNC(NotifyNetworkProxyResolved);
678 682
679 return error_string.empty(); 683 return error_string.empty();
680 } 684 }
681 685
682 void SetLibcrosTimeHistogramFunction(LibcrosTimeHistogramFunc func) { 686 void SetLibcrosTimeHistogramFunction(LibcrosTimeHistogramFunc func) {
683 addHistogram = func; 687 addHistogram = func;
684 } 688 }
685 689
686 } // namespace chromeos 690 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos_cryptohome.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698