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

Unified Diff: chrome/browser/profiles/profile_metrics_mac.mm

Issue 593243002: Profile_Metrics integration with Keystone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove separate attribute header; refactor setActive methods. Created 6 years, 2 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/profiles/profile_metrics_mac.mm
diff --git a/chrome/browser/profiles/profile_metrics_mac.mm b/chrome/browser/profiles/profile_metrics_mac.mm
new file mode 100644
index 0000000000000000000000000000000000000000..a4031b6fae48e666a609315667013d4e1ca0f045
--- /dev/null
+++ b/chrome/browser/profiles/profile_metrics_mac.mm
@@ -0,0 +1,16 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/profiles/profile_metrics.h"
+
+#include "chrome/browser/mac/keystone_glue.h"
+
+void ProfileMetrics::UpdateReportedOSProfileStatistics(
+ int active, int signedin) {
+ DCHECK_GE(active, 0);
+ DCHECK_GE(signedin, 0);
+ [[KeystoneGlue defaultKeystoneGlue]
+ updateProfileCountsWithNumProfiles:active
+ numSignedInProfiles:signedin];
+}

Powered by Google App Engine
This is Rietveld 408576698