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

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

Issue 2032743003: Not show the launcher during Chrome app installation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « chrome/browser/extensions/webstore_installer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <limits> 9 #include <limits>
10 #include <set> 10 #include <set>
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 void WebstoreInstaller::Delegate::OnExtensionDownloadProgress( 238 void WebstoreInstaller::Delegate::OnExtensionDownloadProgress(
239 const std::string& id, 239 const std::string& id,
240 content::DownloadItem* item) { 240 content::DownloadItem* item) {
241 } 241 }
242 242
243 WebstoreInstaller::Approval::Approval() 243 WebstoreInstaller::Approval::Approval()
244 : profile(NULL), 244 : profile(NULL),
245 use_app_installed_bubble(false), 245 use_app_installed_bubble(false),
246 skip_post_install_ui(false), 246 skip_post_install_ui(false),
247 skip_install_dialog(false), 247 skip_install_dialog(false),
248 enable_launcher(false),
249 manifest_check_level(MANIFEST_CHECK_LEVEL_STRICT) { 248 manifest_check_level(MANIFEST_CHECK_LEVEL_STRICT) {
250 } 249 }
251 250
252 std::unique_ptr<WebstoreInstaller::Approval> 251 std::unique_ptr<WebstoreInstaller::Approval>
253 WebstoreInstaller::Approval::CreateWithInstallPrompt(Profile* profile) { 252 WebstoreInstaller::Approval::CreateWithInstallPrompt(Profile* profile) {
254 std::unique_ptr<Approval> result(new Approval()); 253 std::unique_ptr<Approval> result(new Approval());
255 result->profile = profile; 254 result->profile = profile;
256 return result; 255 return result;
257 } 256 }
258 257
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 1, 793 1,
795 kMaxSizeKb, 794 kMaxSizeKb,
796 kNumBuckets); 795 kNumBuckets);
797 } 796 }
798 UMA_HISTOGRAM_BOOLEAN( 797 UMA_HISTOGRAM_BOOLEAN(
799 "Extensions.WebstoreDownload.InterruptTotalSizeUnknown", 798 "Extensions.WebstoreDownload.InterruptTotalSizeUnknown",
800 total_bytes <= 0); 799 total_bytes <= 0);
801 } 800 }
802 801
803 } // namespace extensions 802 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/webstore_installer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698