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

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

Issue 1497193002: Remove all the ephemeral apps code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests Created 5 years 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Do not modify existing values and add new values only to the end. 56 // Do not modify existing values and add new values only to the end.
57 enum PromptType { 57 enum PromptType {
58 UNSET_PROMPT_TYPE = -1, 58 UNSET_PROMPT_TYPE = -1,
59 INSTALL_PROMPT = 0, 59 INSTALL_PROMPT = 0,
60 INLINE_INSTALL_PROMPT, 60 INLINE_INSTALL_PROMPT,
61 BUNDLE_INSTALL_PROMPT, 61 BUNDLE_INSTALL_PROMPT,
62 RE_ENABLE_PROMPT, 62 RE_ENABLE_PROMPT,
63 PERMISSIONS_PROMPT, 63 PERMISSIONS_PROMPT,
64 EXTERNAL_INSTALL_PROMPT, 64 EXTERNAL_INSTALL_PROMPT,
65 POST_INSTALL_PERMISSIONS_PROMPT, 65 POST_INSTALL_PERMISSIONS_PROMPT,
66 LAUNCH_PROMPT, 66 LAUNCH_PROMPT_UNUSED,
Devlin 2015/12/07 16:53:59 nit: I see "DEPRECATED" more frequently than UNUSE
benwells 2015/12/08 07:20:11 Done.
67 REMOTE_INSTALL_PROMPT, 67 REMOTE_INSTALL_PROMPT,
68 REPAIR_PROMPT, 68 REPAIR_PROMPT,
69 DELEGATED_PERMISSIONS_PROMPT, 69 DELEGATED_PERMISSIONS_PROMPT,
70 DELEGATED_BUNDLE_PERMISSIONS_PROMPT, 70 DELEGATED_BUNDLE_PERMISSIONS_PROMPT,
71 NUM_PROMPT_TYPES 71 NUM_PROMPT_TYPES
72 }; 72 };
73 73
74 // The last prompt type to display; only used for testing. 74 // The last prompt type to display; only used for testing.
75 static PromptType g_last_prompt_type_for_tests; 75 static PromptType g_last_prompt_type_for_tests;
76 76
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 Delegate* delegate_; 465 Delegate* delegate_;
466 466
467 // A pre-filled prompt. 467 // A pre-filled prompt.
468 scoped_refptr<Prompt> prompt_; 468 scoped_refptr<Prompt> prompt_;
469 469
470 // Used to show the confirm dialog. 470 // Used to show the confirm dialog.
471 ShowDialogCallback show_dialog_callback_; 471 ShowDialogCallback show_dialog_callback_;
472 }; 472 };
473 473
474 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ 474 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698