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

Unified Diff: chrome/browser/ui/views/app_list/win/app_list_service_win.cc

Issue 1257633002: Componentize VersionInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix OWNERS (copy from //chrome/OWNERS) Created 5 years, 5 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/ui/views/app_list/win/app_list_service_win.cc
diff --git a/chrome/browser/ui/views/app_list/win/app_list_service_win.cc b/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
index a542d1643a7edc888093678b003aa4c41a53ae61..29f6e02350be33288f7f400c87602b98f3f24c36 100644
--- a/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
+++ b/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
@@ -330,14 +330,14 @@ void AppListServiceWin::ScheduleWarmup() {
// to the server-side analysis tool, reducing this period to 10 sec in Dev
// builds and Canary, where profiler instrumentations are enabled.
switch (chrome::VersionInfo::GetChannel()) {
- case chrome::VersionInfo::CHANNEL_UNKNOWN:
- case chrome::VersionInfo::CHANNEL_CANARY:
+ case version_info::CHANNEL_UNKNOWN:
+ case version_info::CHANNEL_CANARY:
kInitWindowDelay = 10;
break;
- case chrome::VersionInfo::CHANNEL_DEV:
- case chrome::VersionInfo::CHANNEL_BETA:
- case chrome::VersionInfo::CHANNEL_STABLE:
+ case version_info::CHANNEL_DEV:
+ case version_info::CHANNEL_BETA:
+ case version_info::CHANNEL_STABLE:
// Except on Canary, don't bother scheduling an app launcher warmup when
// it's not already enabled. Always schedule on Canary while collecting
// profiler data (see comment above).

Powered by Google App Engine
This is Rietveld 408576698