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

Unified Diff: chrome/browser/web_resource/notification_promo.cc

Issue 10539045: Purge Logo/WebstoreSignal. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: missed a file Created 8 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/web_resource/notification_promo.cc
===================================================================
--- chrome/browser/web_resource/notification_promo.cc (revision 140512)
+++ chrome/browser/web_resource/notification_promo.cc (working copy)
@@ -50,8 +50,10 @@
// Returns a string suitable for the Promo Server URL 'dist' value.
const char* ChannelString() {
+ // GetChannel hits the registry on Windows. See http://crbug.com/70898.
+ base::ThreadRestrictions::ScopedAllowIO allow_io;
Dan Beam 2012/06/08 18:49:47 presubmit is angry at you for this ^, also #if de
achuithb 2012/06/08 22:29:08 I'll add the OS_WIN #define. The ScopedAllowIO was
Dan Beam 2012/06/08 22:34:54 I still think you should move this #ifdef inside c
Robert Sesek 2012/06/08 22:35:53 I disagree with this. Clients of this function sho
const chrome::VersionInfo::Channel channel =
- PromoResourceService::GetChannel();
+ chrome::VersionInfo::GetChannel();
switch (channel) {
case chrome::VersionInfo::CHANNEL_CANARY:
return "canary";

Powered by Google App Engine
This is Rietveld 408576698