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

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

Issue 10630021: Modify experimental identity flow to display scope descriptions and details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 5 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_WEBSTORE_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // Whether to skip the post install UI like the extension installed bubble. 79 // Whether to skip the post install UI like the extension installed bubble.
80 bool skip_post_install_ui; 80 bool skip_post_install_ui;
81 81
82 // Whether to skip the install dialog once the extension has been downloaded 82 // Whether to skip the install dialog once the extension has been downloaded
83 // and unpacked. One reason this can be true is that in the normal webstore 83 // and unpacked. One reason this can be true is that in the normal webstore
84 // installation, the dialog is shown earlier, before any download is done, 84 // installation, the dialog is shown earlier, before any download is done,
85 // so there's no need to show it again. 85 // so there's no need to show it again.
86 bool skip_install_dialog; 86 bool skip_install_dialog;
87 87
88 // Whether we should record an oauth2 grant for the extensions.
89 bool record_oauth2_grant;
90
88 private: 91 private:
89 Approval(); 92 Approval();
90 }; 93 };
91 94
92 // Gets the Approval associated with the |download|, or NULL if there's none. 95 // Gets the Approval associated with the |download|, or NULL if there's none.
93 // Note that the Approval is owned by |download|. 96 // Note that the Approval is owned by |download|.
94 static const Approval* GetAssociatedApproval( 97 static const Approval* GetAssociatedApproval(
95 const content::DownloadItem& download); 98 const content::DownloadItem& download);
96 99
97 // Creates a WebstoreInstaller for downloading and installing the extension 100 // Creates a WebstoreInstaller for downloading and installing the extension
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 // The DownloadItem is owned by the DownloadManager and is valid from when 154 // The DownloadItem is owned by the DownloadManager and is valid from when
152 // OnDownloadStarted is called (with no error) until the DownloadItem 155 // OnDownloadStarted is called (with no error) until the DownloadItem
153 // transitions to state REMOVING. 156 // transitions to state REMOVING.
154 content::DownloadItem* download_item_; 157 content::DownloadItem* download_item_;
155 int flags_; 158 int flags_;
156 scoped_ptr<Approval> approval_; 159 scoped_ptr<Approval> approval_;
157 GURL download_url_; 160 GURL download_url_;
158 }; 161 };
159 162
160 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ 163 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/unpacked_installer.cc ('k') | chrome/browser/extensions/webstore_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698