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

Side by Side Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 10407058: Compile in Breakpad by default on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add #ifdef to chrome/browser/chromeos/login/wizard_controller.cc too Created 7 years, 11 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
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.cc ('k') | chrome/common/env_vars.h » ('j') | 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/chromeos/login/wizard_controller.h" 5 #include "chrome/browser/chromeos/login/wizard_controller.h"
6 6
7 #include <signal.h> 7 #include <signal.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 10
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 bool uma_enabled = 447 bool uma_enabled =
448 OptionsUtil::ResolveMetricsReportingEnabled(usage_statistics_reporting_); 448 OptionsUtil::ResolveMetricsReportingEnabled(usage_statistics_reporting_);
449 449
450 content::NotificationService::current()->Notify( 450 content::NotificationService::current()->Notify(
451 chrome::NOTIFICATION_WIZARD_EULA_ACCEPTED, 451 chrome::NOTIFICATION_WIZARD_EULA_ACCEPTED,
452 content::NotificationSource(content::Source<WizardController>(this)), 452 content::NotificationSource(content::Source<WizardController>(this)),
453 content::NotificationService::NoDetails()); 453 content::NotificationService::NoDetails());
454 454
455 CrosSettings::Get()->SetBoolean(kStatsReportingPref, uma_enabled); 455 CrosSettings::Get()->SetBoolean(kStatsReportingPref, uma_enabled);
456 if (uma_enabled) { 456 if (uma_enabled) {
457 #if defined(USE_LINUX_BREAKPAD) 457 #if defined(USE_LINUX_BREAKPAD) && defined(GOOGLE_CHROME_BUILD)
458 // The crash reporter initialization needs IO to complete. 458 // The crash reporter initialization needs IO to complete.
459 base::ThreadRestrictions::ScopedAllowIO allow_io; 459 base::ThreadRestrictions::ScopedAllowIO allow_io;
460 InitCrashReporter(); 460 InitCrashReporter();
461 #endif 461 #endif
462 } 462 }
463 463
464 if (skip_update_enroll_after_eula_) { 464 if (skip_update_enroll_after_eula_) {
465 PerformPostEulaActions(); 465 PerformPostEulaActions();
466 PerformPostUpdateActions(); 466 PerformPostUpdateActions();
467 ShowEnterpriseEnrollmentScreen(); 467 ShowEnterpriseEnrollmentScreen();
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 return zero_delay_enabled_; 821 return zero_delay_enabled_;
822 } 822 }
823 823
824 // static 824 // static
825 void WizardController::SetZeroDelays() { 825 void WizardController::SetZeroDelays() {
826 kShowDelayMs = 0; 826 kShowDelayMs = 0;
827 zero_delay_enabled_ = true; 827 zero_delay_enabled_ = true;
828 } 828 }
829 829
830 } // namespace chromeos 830 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.cc ('k') | chrome/common/env_vars.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698