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

Unified Diff: chrome/installer/util/chrome_browser_operations.cc

Issue 12321061: Pulling user experiment code from BrowserDistribution to a new class. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Making user experiments unavailable for Chromium. Created 7 years, 10 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/installer/util/chrome_browser_operations.cc
diff --git a/chrome/installer/util/chrome_browser_operations.cc b/chrome/installer/util/chrome_browser_operations.cc
index 1f232616217710ca532553f70cad7f32384b8c13..485db95b73ee3ab1c52ac0ab32ce297f580325d0 100644
--- a/chrome/installer/util/chrome_browser_operations.cc
+++ b/chrome/installer/util/chrome_browser_operations.cc
@@ -136,4 +136,12 @@ void ChromeBrowserOperations::AddDefaultShortcutProperties(
properties->set_description(dist->GetAppDescription());
}
+bool ChromeBrowserOperations::ShouldLaunchUserExperiment() const {
+#if defined(GOOGLE_CHROME_BUILD)
+ return true;
+#else
+ return false;
+#endif // defined(GOOGLE_CHROME_BUILD)
+}
+
} // namespace installer

Powered by Google App Engine
This is Rietveld 408576698