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

Unified Diff: chrome/browser/chromeos/login/report_custom_flags.h

Issue 344883002: Collect UMA statistics on which chrome://flags lead to chrome restart on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bug in about_flags.cc. Sdded comments. s/restarting/custom/ Created 6 years, 6 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/chromeos/login/report_custom_flags.h
diff --git a/chrome/browser/chromeos/login/report_custom_flags.h b/chrome/browser/chromeos/login/report_custom_flags.h
new file mode 100644
index 0000000000000000000000000000000000000000..dbd6d1fa4f762aa879f92517203e275f0d9a3772
--- /dev/null
+++ b/chrome/browser/chromeos/login/report_custom_flags.h
@@ -0,0 +1,19 @@
+// 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.
+
+#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_REPORT_CUSTOM_FLAGS_H_
+#define CHROME_BROWSER_CHROMEOS_LOGIN_REPORT_CUSTOM_FLAGS_H_
+
+#include <set>
+#include <string>
+
+namespace chromeos {
+
+void ReportCustomFlags(const std::set<std::string>& command_line_difference);
+
+const char* const* GetChromeCustomHistogramSwitchesForTesting(size_t* out_size);
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_LOGIN_REPORT_CUSTOM_FLAGS_H_

Powered by Google App Engine
This is Rietveld 408576698