| Index: chrome/browser/app_controller_mac.mm
|
| diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
|
| index e9d4d076616cd415bf6198f951ab6850ffe791ab..6934219cb24e7c5d21f20741803f2b728902e7e7 100644
|
| --- a/chrome/browser/app_controller_mac.mm
|
| +++ b/chrome/browser/app_controller_mac.mm
|
| @@ -277,8 +277,10 @@ void RecordLastRunAppBundlePath() {
|
| - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication*)app {
|
| // Check if the preference is turned on.
|
| const PrefService* prefs = [self defaultProfile]->GetPrefs();
|
| - if (!prefs->GetBoolean(prefs::kConfirmToQuitEnabled))
|
| + if (!prefs->GetBoolean(prefs::kConfirmToQuitEnabled)) {
|
| + confirm_quit::RecordHistogram(confirm_quit::kNoConfirm);
|
| return NSTerminateNow;
|
| + }
|
|
|
| // If the application is going to terminate as the result of a Cmd+Q
|
| // invocation, use the special sauce to prevent accidental quitting.
|
|
|