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

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

Issue 10702017: Revert r 144574 "Modify experimental identity flow to display scope descriptions and details." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
91 private: 88 private:
92 Approval(); 89 Approval();
93 }; 90 };
94 91
95 // Gets the Approval associated with the |download|, or NULL if there's none. 92 // Gets the Approval associated with the |download|, or NULL if there's none.
96 // Note that the Approval is owned by |download|. 93 // Note that the Approval is owned by |download|.
97 static const Approval* GetAssociatedApproval( 94 static const Approval* GetAssociatedApproval(
98 const content::DownloadItem& download); 95 const content::DownloadItem& download);
99 96
100 // Creates a WebstoreInstaller for downloading and installing the extension 97 // Creates a WebstoreInstaller for downloading and installing the extension
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // The DownloadItem is owned by the DownloadManager and is valid from when 151 // The DownloadItem is owned by the DownloadManager and is valid from when
155 // OnDownloadStarted is called (with no error) until the DownloadItem 152 // OnDownloadStarted is called (with no error) until the DownloadItem
156 // transitions to state REMOVING. 153 // transitions to state REMOVING.
157 content::DownloadItem* download_item_; 154 content::DownloadItem* download_item_;
158 int flags_; 155 int flags_;
159 scoped_ptr<Approval> approval_; 156 scoped_ptr<Approval> approval_;
160 GURL download_url_; 157 GURL download_url_;
161 }; 158 };
162 159
163 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_H_ 160 #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