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

Side by Side Diff: chromeos/cryptohome/mock_homedir_methods.h

Issue 2111043003: Storage manager: Show the disk usage of other users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo and the order of storage items. Created 4 years, 5 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 | « chromeos/cryptohome/homedir_methods.cc ('k') | chromeos/dbus/cryptohome_client.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_ 5 #ifndef CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_
6 #define CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_ 6 #define CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 MOCK_METHOD5(UpdateKeyEx, 48 MOCK_METHOD5(UpdateKeyEx,
49 void(const Identification& id, 49 void(const Identification& id,
50 const Authorization& auth, 50 const Authorization& auth,
51 const KeyDefinition& key, 51 const KeyDefinition& key,
52 const std::string& signature, 52 const std::string& signature,
53 const Callback& callback)); 53 const Callback& callback));
54 MOCK_METHOD3(RenameCryptohome, 54 MOCK_METHOD3(RenameCryptohome,
55 void(const Identification& id_from, 55 void(const Identification& id_from,
56 const Identification& id_to, 56 const Identification& id_to,
57 const Callback& callback)); 57 const Callback& callback));
58 MOCK_METHOD2(GetAccountDiskUsage,
59 void(const Identification& id,
60 const GetAccountDiskUsageCallback& callback));
58 61
59 private: 62 private:
60 bool success_; 63 bool success_;
61 MountError return_code_; 64 MountError return_code_;
62 65
63 void DoCallback(const Callback& callback); 66 void DoCallback(const Callback& callback);
64 void DoGetDataCallback(const GetKeyDataCallback& callback); 67 void DoGetDataCallback(const GetKeyDataCallback& callback);
65 void DoMountCallback(const MountCallback& callback); 68 void DoMountCallback(const MountCallback& callback);
66 69
67 DISALLOW_COPY_AND_ASSIGN(MockHomedirMethods); 70 DISALLOW_COPY_AND_ASSIGN(MockHomedirMethods);
68 }; 71 };
69 72
70 } // namespace cryptohome 73 } // namespace cryptohome
71 74
72 #endif // CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_ 75 #endif // CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_
OLDNEW
« no previous file with comments | « chromeos/cryptohome/homedir_methods.cc ('k') | chromeos/dbus/cryptohome_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698