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

Unified Diff: components/metrics/net/cellular_logic_helper.h

Issue 1974593002: Make the launch params the default client behavior for UMA 3g (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: components/metrics/net/cellular_logic_helper.h
diff --git a/components/metrics/net/cellular_logic_helper.h b/components/metrics/net/cellular_logic_helper.h
new file mode 100644
index 0000000000000000000000000000000000000000..c679a0e31a63e9871da596d17e575465ad7a7d31
--- /dev/null
+++ b/components/metrics/net/cellular_logic_helper.h
@@ -0,0 +1,19 @@
+// Copyright 2016 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.
+
+#ifndef COMPONENTS_METRICS_NET_CELLULAR_LOGIC_HELPER_H_
+#define COMPONENTS_METRICS_NET_CELLULAR_LOGIC_HELPER_H_
+
+#include "base/time/time.h"
+
+namespace metrics {
+
+base::TimeDelta GetUploadInterval();
Alexei Svitkine (slow) 2016/05/13 15:53:59 Nit: Add a comment.
gayane -on leave until 09-2017 2016/05/13 18:33:15 Done.
+
+// Returns true if current connection type is cellular and user is assigned to
+// experimental group for enabled cellular uploads.
+bool IsCellularLogicEnabled();
+};
Alexei Svitkine (slow) 2016/05/13 15:53:59 Nit: No ; and add // namespace metrics
gayane -on leave until 09-2017 2016/05/13 18:33:15 Done.
+
+#endif // COMPONENTS_METRICS_NET_CELLULAR_LOGIC_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698