OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UNINSTALL_BROWSER_PROMPT_H_ | 5 #ifndef CHROME_BROWSER_UI_UNINSTALL_BROWSER_PROMPT_H_ |
6 #define CHROME_BROWSER_UI_UNINSTALL_BROWSER_PROMPT_H_ | 6 #define CHROME_BROWSER_UI_UNINSTALL_BROWSER_PROMPT_H_ |
7 | 7 |
8 namespace chrome { | 8 namespace chrome { |
9 | 9 |
10 // Asks user for uninstall confirmation and returns one of these values: | 10 // Asks user for uninstall confirmation and returns one of these values: |
11 // content::RESULT_CODE_NORMAL_EXIT, | 11 // content::RESULT_CODE_NORMAL_EXIT, |
12 // chrome::RESULT_CODE_UNINSTALL_DELETE_PROFILE or | 12 // chrome::RESULT_CODE_UNINSTALL_DELETE_PROFILE or |
13 // chrome::RESULT_CODE_UNINSTALL_USER_CANCEL. | 13 // chrome::RESULT_CODE_UNINSTALL_USER_CANCEL. |
14 int ShowUninstallBrowserPrompt(); | 14 int ShowUninstallBrowserPrompt(bool show_delete_profile); |
15 | 15 |
16 } // namespace chrome | 16 } // namespace chrome |
17 | 17 |
18 #endif // CHROME_BROWSER_UI_UNINSTALL_BROWSER_PROMPT_H_ | 18 #endif // CHROME_BROWSER_UI_UNINSTALL_BROWSER_PROMPT_H_ |
OLD | NEW |