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

Side by Side Diff: chrome/browser/extensions/extension_install_prompt.h

Issue 557953005: Allow the user to "repair" a corrupted extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 (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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 UNSET_PROMPT_TYPE = -1, 68 UNSET_PROMPT_TYPE = -1,
69 INSTALL_PROMPT = 0, 69 INSTALL_PROMPT = 0,
70 INLINE_INSTALL_PROMPT, 70 INLINE_INSTALL_PROMPT,
71 BUNDLE_INSTALL_PROMPT, 71 BUNDLE_INSTALL_PROMPT,
72 RE_ENABLE_PROMPT, 72 RE_ENABLE_PROMPT,
73 PERMISSIONS_PROMPT, 73 PERMISSIONS_PROMPT,
74 EXTERNAL_INSTALL_PROMPT, 74 EXTERNAL_INSTALL_PROMPT,
75 POST_INSTALL_PERMISSIONS_PROMPT, 75 POST_INSTALL_PERMISSIONS_PROMPT,
76 LAUNCH_PROMPT, 76 LAUNCH_PROMPT,
77 REMOTE_INSTALL_PROMPT, 77 REMOTE_INSTALL_PROMPT,
78 REPAIR_PROMPT,
78 NUM_PROMPT_TYPES 79 NUM_PROMPT_TYPES
79 }; 80 };
80 81
81 enum DetailsType { 82 enum DetailsType {
82 PERMISSIONS_DETAILS = 0, 83 PERMISSIONS_DETAILS = 0,
83 RETAINED_FILES_DETAILS, 84 RETAINED_FILES_DETAILS,
84 }; 85 };
85 86
86 static std::string PromptTypeToString(PromptType type); 87 static std::string PromptTypeToString(PromptType type);
87 88
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 Delegate* delegate_; 419 Delegate* delegate_;
419 420
420 // A pre-filled prompt. 421 // A pre-filled prompt.
421 scoped_refptr<Prompt> prompt_; 422 scoped_refptr<Prompt> prompt_;
422 423
423 // Used to show the confirm dialog. 424 // Used to show the confirm dialog.
424 ShowDialogCallback show_dialog_callback_; 425 ShowDialogCallback show_dialog_callback_;
425 }; 426 };
426 427
427 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ 428 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698