OLD | NEW |
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 CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 void RemoveCachedIcon(const std::string& icon_resource_id); | 69 void RemoveCachedIcon(const std::string& icon_resource_id); |
70 | 70 |
71 // Show package info for ARC package. | 71 // Show package info for ARC package. |
72 // Deprecated. Use ShowPackageInfoOnPage. | 72 // Deprecated. Use ShowPackageInfoOnPage. |
73 bool ShowPackageInfo(const std::string& package_name); | 73 bool ShowPackageInfo(const std::string& package_name); |
74 | 74 |
75 // Show package info for ARC package at the specified page. | 75 // Show package info for ARC package at the specified page. |
76 bool ShowPackageInfoOnPage(const std::string& package_name, | 76 bool ShowPackageInfoOnPage(const std::string& package_name, |
77 mojom::ShowPackageInfoPage page); | 77 mojom::ShowPackageInfoPage page); |
78 | 78 |
| 79 // Prioritizes the ARC instance. See PrioritizeArcInstance() in |
| 80 // chromeos/dbus/session_manager_client.h for more details. |
| 81 void PrioritizeArcInstance(); |
| 82 |
79 } // namespace arc | 83 } // namespace arc |
80 | 84 |
81 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_ | 85 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_ |
OLD | NEW |