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

Unified Diff: chrome/browser/mac/keystone_glue.mm

Issue 577353006: Update KeystoneRegistration.framework to 1.2.0.7671 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/mac/keystone_glue.mm
diff --git a/chrome/browser/mac/keystone_glue.mm b/chrome/browser/mac/keystone_glue.mm
index 6960e70cb060a786d1be7162973e6069516fbe5b..2f0f19cddbd6e0d7a801f4b93d0d53f1808756a0 100644
--- a/chrome/browser/mac/keystone_glue.mm
+++ b/chrome/browser/mac/keystone_glue.mm
@@ -555,7 +555,11 @@ NSString* const kVersionKey = @"KSVersion";
[self updateStatus:kAutoupdateChecking version:nil];
- [registration_ checkForUpdate];
+ // All checks from inside Chrome are considered user-initiated, because they
+ // only happen following a user action, such as visiting the about page.
+ // Non-user-initiated checks are the periodic checks automatically made by
+ // Keystone, which don't come through this code path (or even this process).
+ [registration_ checkForUpdateWasUserInitiated:YES];
// Upon completion, ksr::KSRegistrationCheckForUpdateNotification will be
// posted, and -checkForUpdateComplete: will be called.
« no previous file with comments | « no previous file | chrome/browser/mac/keystone_glue_unittest.mm » ('j') | chrome/browser/mac/keystone_registration.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698