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

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

Issue 264763002: Support remote installation of extensions and apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 6 years, 7 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 | Annotate | Revision Log
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
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,
meacer 2014/05/15 00:01:10 ExtensionInstallPromptType in histograms.xml corre
Marijn Kruisselbrink 2014/05/15 17:05:03 Done, and I also forgot to add the new histogram t
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698