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

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: Borisv comments 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/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..6468799da5f4cd2e71e71661d80b2c7eb70a1574
--- /dev/null
+++ b/chrome/browser/profiles/profile_metrics_mac.mm
@@ -0,0 +1,16 @@
+// Copyright (c) 2014 The Chromium Authors. All rights reserved.
Mark Mentovai 2014/10/02 16:07:23 No (c) in new files.
Mike Lerman 2014/10/09 20:41:01 Done.
+// 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"
+
+#if defined(OS_MACOSX)
Mark Mentovai 2014/10/02 16:07:23 Not necessary. _mac.mm files will only be built on
Mike Lerman 2014/10/06 16:49:08 They don't come on iOS as well?
Mark Mentovai 2014/10/06 18:35:13 Mike Lerman wrote:
Mike Lerman 2014/10/09 20:41:01 Cool, good to know. Done.
+void ProfileMetrics::UpdateReportedOSProfileStatistics(
+ int active, int signedin) {
+ [[KeystoneGlue defaultKeystoneGlue]
+ updateProfileCountsWithNumProfiles:active
+ numSignedInProfiles:signedin];
+}
+#endif

Powered by Google App Engine
This is Rietveld 408576698