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_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 enum PromptType { | 60 enum PromptType { |
61 UNSET_PROMPT_TYPE = -1, | 61 UNSET_PROMPT_TYPE = -1, |
62 INSTALL_PROMPT = 0, | 62 INSTALL_PROMPT = 0, |
63 INLINE_INSTALL_PROMPT, | 63 INLINE_INSTALL_PROMPT, |
64 BUNDLE_INSTALL_PROMPT, | 64 BUNDLE_INSTALL_PROMPT, |
65 RE_ENABLE_PROMPT, | 65 RE_ENABLE_PROMPT, |
66 PERMISSIONS_PROMPT, | 66 PERMISSIONS_PROMPT, |
67 EXTERNAL_INSTALL_PROMPT, | 67 EXTERNAL_INSTALL_PROMPT, |
68 POST_INSTALL_PERMISSIONS_PROMPT, | 68 POST_INSTALL_PERMISSIONS_PROMPT, |
69 LAUNCH_PROMPT, | 69 LAUNCH_PROMPT, |
| 70 REMOTE_INSTALL_PROMPT, |
70 NUM_PROMPT_TYPES | 71 NUM_PROMPT_TYPES |
71 }; | 72 }; |
72 | 73 |
73 enum DetailsType { | 74 enum DetailsType { |
74 PERMISSIONS_DETAILS = 0, | 75 PERMISSIONS_DETAILS = 0, |
75 OAUTH_DETAILS, | 76 OAUTH_DETAILS, |
76 RETAINED_FILES_DETAILS, | 77 RETAINED_FILES_DETAILS, |
77 }; | 78 }; |
78 | 79 |
79 // Extra information needed to display an installation or uninstallation | 80 // Extra information needed to display an installation or uninstallation |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 Prompt prompt_; | 438 Prompt prompt_; |
438 | 439 |
439 scoped_ptr<OAuth2TokenService::Request> login_token_request_; | 440 scoped_ptr<OAuth2TokenService::Request> login_token_request_; |
440 scoped_ptr<OAuth2MintTokenFlow> token_flow_; | 441 scoped_ptr<OAuth2MintTokenFlow> token_flow_; |
441 | 442 |
442 // Used to show the confirm dialog. | 443 // Used to show the confirm dialog. |
443 ShowDialogCallback show_dialog_callback_; | 444 ShowDialogCallback show_dialog_callback_; |
444 }; | 445 }; |
445 | 446 |
446 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ | 447 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ |
OLD | NEW |