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

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

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 #include "chrome/browser/extensions/webstore_installer.h" 5 #include "chrome/browser/extensions/webstore_installer.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, 122 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
123 base::Bind(callback, file)); 123 base::Bind(callback, file));
124 } 124 }
125 125
126 } // namespace 126 } // namespace
127 127
128 WebstoreInstaller::Approval::Approval() 128 WebstoreInstaller::Approval::Approval()
129 : profile(NULL), 129 : profile(NULL),
130 use_app_installed_bubble(false), 130 use_app_installed_bubble(false),
131 skip_post_install_ui(false), 131 skip_post_install_ui(false),
132 skip_install_dialog(false), 132 skip_install_dialog(false) {
133 record_oauth2_grant(false) {
134 } 133 }
135 134
136 scoped_ptr<WebstoreInstaller::Approval> 135 scoped_ptr<WebstoreInstaller::Approval>
137 WebstoreInstaller::Approval::CreateWithInstallPrompt(Profile* profile) { 136 WebstoreInstaller::Approval::CreateWithInstallPrompt(Profile* profile) {
138 scoped_ptr<Approval> result(new Approval()); 137 scoped_ptr<Approval> result(new Approval());
139 result->profile = profile; 138 result->profile = profile;
140 return result.Pass(); 139 return result.Pass();
141 } 140 }
142 141
143 scoped_ptr<WebstoreInstaller::Approval> 142 scoped_ptr<WebstoreInstaller::Approval>
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 } 340 }
342 341
343 void WebstoreInstaller::ReportSuccess() { 342 void WebstoreInstaller::ReportSuccess() {
344 if (delegate_) { 343 if (delegate_) {
345 delegate_->OnExtensionInstallSuccess(id_); 344 delegate_->OnExtensionInstallSuccess(id_);
346 delegate_ = NULL; 345 delegate_ = NULL;
347 } 346 }
348 347
349 Release(); // Balanced in Start(). 348 Release(); // Balanced in Start().
350 } 349 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/webstore_installer.h ('k') | chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698