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

Unified Diff: chrome/browser/signin/easy_unlock_service.h

Issue 1023823002: Report Bluetooth adapter status to UMA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable BT after start on systems not yet supported Created 5 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/signin/easy_unlock_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/easy_unlock_service.h
diff --git a/chrome/browser/signin/easy_unlock_service.h b/chrome/browser/signin/easy_unlock_service.h
index 8500446d1cec3b34ec751e7aca6170bb60d3f582..deff0917fccec3fc6314751b86cde1a3a2f2ae04 100644
--- a/chrome/browser/signin/easy_unlock_service.h
+++ b/chrome/browser/signin/easy_unlock_service.h
@@ -331,6 +331,11 @@ class EasyUnlockService : public KeyedService {
base::WeakPtrFactory<EasyUnlockService> weak_ptr_factory_;
+ // Whether we've already passed Bluetooth availability information to UMA.
+ // This is static because there may be multiple instances and we want to
+ // report this system-level stat only once per run of Chrome.
+ static bool bluetooth_adapter_has_been_reported;
xiyuan 2015/03/20 19:19:31 How about declare this flag as a function scoped s
bcwhite 2015/03/20 20:28:26 Makes sense. Done.
+
DISALLOW_COPY_AND_ASSIGN(EasyUnlockService);
};
« no previous file with comments | « no previous file | chrome/browser/signin/easy_unlock_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698