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

Side by Side Diff: chrome/browser/ui/app_list/arc/arc_app_utils.h

Issue 1756193008: Support uninstalling ARC app from Chrome launcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 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 13 matching lines...) Expand all
24 24
25 // Tests if the application can use the given target resolution. 25 // Tests if the application can use the given target resolution.
26 // The callback will receive the information once known. 26 // The callback will receive the information once known.
27 // A false will get returned if the result cannot be determined in which case 27 // A false will get returned if the result cannot be determined in which case
28 // the callback will not be called. 28 // the callback will not be called.
29 bool CanHandleResolution(content::BrowserContext* context, 29 bool CanHandleResolution(content::BrowserContext* context,
30 const std::string& app_id, 30 const std::string& app_id,
31 const gfx::Rect& rect, 31 const gfx::Rect& rect,
32 const CanHandleResolutionCallback callback); 32 const CanHandleResolutionCallback callback);
33 33
34 // Uninstalls the package in ARC.
35 bool UninstallApp(content::BrowserContext* context,
36 const std::string& package_name);
37
34 } // namespace arc 38 } // namespace arc
35 39
36 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_ 40 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698