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

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

Issue 212703006: Update KeystoneRegistration.framework to 1.2.0.7407 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/mac/keystone_glue_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/mac/keystone_glue.mm
diff --git a/chrome/browser/mac/keystone_glue.mm b/chrome/browser/mac/keystone_glue.mm
index 959eac28004f85bab192f0cc75642e2472e49c7b..36d87cb040ea64e9a9eb5f124943322ecb92719a 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698