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

Unified Diff: chrome/browser/upgrade_detector_impl.h

Issue 333313003: Simulate variation seeds using installed version string. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « chrome/browser/metrics/variations/variations_service.cc ('k') | chrome/browser/upgrade_detector_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/upgrade_detector_impl.h
===================================================================
--- chrome/browser/upgrade_detector_impl.h (revision 278434)
+++ chrome/browser/upgrade_detector_impl.h (working copy)
@@ -7,6 +7,7 @@
#include "base/memory/weak_ptr.h"
#include "base/timer/timer.h"
+#include "base/version.h"
#include "chrome/browser/upgrade_detector.h"
template <typename T> struct DefaultSingletonTraits;
@@ -15,6 +16,11 @@
public:
virtual ~UpgradeDetectorImpl();
+ // Returns the currently installed Chrome version, which may be newer than the
+ // one currently running. Not supported on Android, iOS or ChromeOS. Must be
+ // run on a thread where I/O operations are allowed (e.g. FILE thread).
+ static base::Version GetCurrentlyInstalledVersion();
+
// Returns the singleton instance.
static UpgradeDetectorImpl* GetInstance();
« no previous file with comments | « chrome/browser/metrics/variations/variations_service.cc ('k') | chrome/browser/upgrade_detector_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698