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

Side by Side Diff: components/arc/storage_manager/arc_storage_manager.h

Issue 2347293002: arc: Add InstanceHelper::GetInstanceForMethod() (Closed)
Patch Set: No more DCHECK Created 4 years, 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 COMPONENTS_ARC_STORAGE_MANAGER_ARC_STORAGE_MANAGER_H_ 5 #ifndef COMPONENTS_ARC_STORAGE_MANAGER_ARC_STORAGE_MANAGER_H_
6 #define COMPONENTS_ARC_STORAGE_MANAGER_ARC_STORAGE_MANAGER_H_ 6 #define COMPONENTS_ARC_STORAGE_MANAGER_ARC_STORAGE_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 21 matching lines...) Expand all
32 32
33 // Gets storage usage of all application's APK, data, and cache size. 33 // Gets storage usage of all application's APK, data, and cache size.
34 using GetApplicationsSizeCallback = 34 using GetApplicationsSizeCallback =
35 base::Callback<void(bool succeeded, arc::mojom::ApplicationsSizePtr)>; 35 base::Callback<void(bool succeeded, arc::mojom::ApplicationsSizePtr)>;
36 bool GetApplicationsSize(const GetApplicationsSizeCallback& callback); 36 bool GetApplicationsSize(const GetApplicationsSizeCallback& callback);
37 37
38 // Deletes all applications' cache files. 38 // Deletes all applications' cache files.
39 bool DeleteApplicationsCache(const base::Callback<void()>& callback); 39 bool DeleteApplicationsCache(const base::Callback<void()>& callback);
40 40
41 private: 41 private:
42 mojom::StorageManagerInstance* GetStorageManagerInstance();
43
44 DISALLOW_COPY_AND_ASSIGN(ArcStorageManager); 42 DISALLOW_COPY_AND_ASSIGN(ArcStorageManager);
45 }; 43 };
46 44
47 } // namespace arc 45 } // namespace arc
48 46
49 #endif // COMPONENTS_ARC_STORAGE_MANAGER_ARC_STORAGE_MANAGER_H_ 47 #endif // COMPONENTS_ARC_STORAGE_MANAGER_ARC_STORAGE_MANAGER_H_
OLDNEW
« no previous file with comments | « components/arc/net/arc_net_host_impl.cc ('k') | components/arc/storage_manager/arc_storage_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698