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

Unified Diff: chrome/installer/setup/installer_metrics.h

Issue 2335313002: Always persist histograms from setup.exe. (Closed)
Patch Set: CR grt/bcwhite #4-5 Created 4 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
« no previous file with comments | « chrome/installer/setup/install_worker.cc ('k') | chrome/installer/setup/installer_metrics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/installer_metrics.h
diff --git a/chrome/installer/setup/installer_metrics.h b/chrome/installer/setup/installer_metrics.h
deleted file mode 100644
index 731f00626f96bda888748c361814162d2d18b80b..0000000000000000000000000000000000000000
--- a/chrome/installer/setup/installer_metrics.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// 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 CHROME_INSTALLER_SETUP_INSTALLER_METRICS_H_
-#define CHROME_INSTALLER_SETUP_INSTALLER_METRICS_H_
-
-namespace base {
-class FilePath;
-} // namespace base
-
-namespace installer {
-
-// Returns the directory in which persistent histograms will be saved. The
-// install process should create this when appropriate and remove it on
-// uninstall/rollback. If this directory does not exist when End...Storage()
-// is called then no histograms will be persisted on disk.
-base::FilePath GetPersistentHistogramStorageDir(
- const base::FilePath& target_dir);
-
-// Creates a persistent space for any histograms that can be reported later
-// by the browser process. It should be called as early as possible in the
-// process lifetime and never called again.
-void BeginPersistentHistogramStorage();
-
-// Saves all the persistent histograms to a single file on disk for reading
-// by the browser so it can be reported. It is generally called once during
-// process exit. Multiple calls to this are possible if "snapshots" are
-// desired; they are cumulative in what is saved, not just what has changed
-// since the previous call. The |target_dir| is the install location of the
-// browser.
-void EndPersistentHistogramStorage(const base::FilePath& target_dir,
- bool system_install);
-
-} // namespace installer
-
-#endif // CHROME_INSTALLER_SETUP_INSTALLER_METRICS_H_
« no previous file with comments | « chrome/installer/setup/install_worker.cc ('k') | chrome/installer/setup/installer_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698