| OLD | NEW | 
| (Empty) |  | 
 |   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 | 
 |   3 // found in the LICENSE file. | 
 |   4  | 
 |   5 #ifndef CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_DIALOG_H_ | 
 |   6 #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_DIALOG_H_ | 
 |   7  | 
 |   8 #include <string> | 
 |   9  | 
 |  10 #include "base/callback.h" | 
 |  11  | 
 |  12 class AppListControllerDelegate; | 
 |  13 class Profile; | 
 |  14  | 
 |  15 namespace arc { | 
 |  16  | 
 |  17 // Shows a dialog for user to confirm uninstallation of Arc app. | 
 |  18 // Currently, Arc app can only be manually uninstalled from AppList. But it | 
 |  19 // would be simple to enable the dialog to shown from other source. | 
 |  20 void ShowArcAppUninstallDialog(Profile* profile, | 
 |  21                                AppListControllerDelegate* controller, | 
 |  22                                const std::string& app_id); | 
 |  23  | 
 |  24 // Test purpose methods. | 
 |  25 bool IsArcAppDialogViewAliveForTest(); | 
 |  26  | 
 |  27 bool CloseAppDialogViewAndConfirmForTest(bool confirm); | 
 |  28  | 
 |  29 }  // namespace arc | 
 |  30  | 
 |  31 #endif  // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_DIALOG_H_ | 
| OLD | NEW |