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

Unified Diff: chrome/browser/web_resource/promo_resource_service.h

Issue 7249003: Move GetVersionStringModifier() and GetChannel() from platform_util_* to chrome_version_info_* (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: correct nits Created 9 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/upgrade_detector_impl.cc ('k') | chrome/browser/web_resource/promo_resource_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_resource/promo_resource_service.h
diff --git a/chrome/browser/web_resource/promo_resource_service.h b/chrome/browser/web_resource/promo_resource_service.h
index 469abf03a4cd78705a07ae87dc5e7041ff62597f..a9ebd6a36fe20332c3fa88cf7e16c193f4737d4e 100644
--- a/chrome/browser/web_resource/promo_resource_service.h
+++ b/chrome/browser/web_resource/promo_resource_service.h
@@ -8,8 +8,8 @@
#include <string>
-#include "chrome/browser/platform_util.h"
#include "chrome/browser/web_resource/web_resource_service.h"
+#include "chrome/common/chrome_version_info.h"
namespace PromoResourceServiceUtil {
@@ -32,7 +32,7 @@ class PrefService;
class PromoResourceService
: public WebResourceService {
public:
- static bool IsBuildTargeted(platform_util::Channel channel,
+ static bool IsBuildTargeted(chrome::VersionInfo::Channel channel,
int builds_targeted);
static void RegisterPrefs(PrefService* local_state);
@@ -86,7 +86,7 @@ class PromoResourceService
void ScheduleNotificationOnInit();
// Overrides the current Chrome release channel for testing purposes.
- void set_channel(platform_util::Channel channel) { channel_ = channel; }
+ void set_channel(chrome::VersionInfo::Channel channel) { channel_ = channel; }
virtual void Unpack(const DictionaryValue& parsed_json);
@@ -195,7 +195,7 @@ class PromoResourceService
DictionaryValue* web_resource_cache_;
// Overrides the current Chrome release channel for testing purposes.
- platform_util::Channel channel_;
+ chrome::VersionInfo::Channel channel_;
DISALLOW_COPY_AND_ASSIGN(PromoResourceService);
};
« no previous file with comments | « chrome/browser/upgrade_detector_impl.cc ('k') | chrome/browser/web_resource/promo_resource_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698