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

Side by Side Diff: chrome/browser/web_resource/promo_resource_service.h

Issue 7108035: Revert 88400 (Probable breaker of XP Tests(dbg)(5), 10.6 Tests (dbg)(2), 10.5 Tests (dbg)(2)) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_WEB_RESOURCE_PROMO_RESOURCE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_WEB_RESOURCE_PROMO_RESOURCE_SERVICE_H_
6 #define CHROME_BROWSER_WEB_RESOURCE_PROMO_RESOURCE_SERVICE_H_ 6 #define CHROME_BROWSER_WEB_RESOURCE_PROMO_RESOURCE_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "chrome/browser/platform_util.h" 11 #include "chrome/browser/platform_util.h"
12 #include "chrome/browser/web_resource/web_resource_service.h" 12 #include "chrome/browser/web_resource/web_resource_service.h"
13 13
14 class Profile;
15
16 namespace PromoResourceServiceUtil { 14 namespace PromoResourceServiceUtil {
17 15
18 // Certain promotions should only be shown to certain classes of users. This 16 // Certain promotions should only be shown to certain classes of users. This
19 // function will change to reflect each kind of promotion. 17 // function will change to reflect each kind of promotion.
20 bool CanShowPromo(Profile* profile); 18 bool CanShowPromo(Profile* profile);
21 19
22 } // namespace PromoResourceServiceUtil 20 } // namespace PromoResourceServiceUtil
23 21
24 class PrefService; 22 class PrefService;
25 23
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 // can write resource data back to user's pref file. 194 // can write resource data back to user's pref file.
197 DictionaryValue* web_resource_cache_; 195 DictionaryValue* web_resource_cache_;
198 196
199 // Overrides the current Chrome release channel for testing purposes. 197 // Overrides the current Chrome release channel for testing purposes.
200 platform_util::Channel channel_; 198 platform_util::Channel channel_;
201 199
202 DISALLOW_COPY_AND_ASSIGN(PromoResourceService); 200 DISALLOW_COPY_AND_ASSIGN(PromoResourceService);
203 }; 201 };
204 202
205 #endif // CHROME_BROWSER_WEB_RESOURCE_PROMO_RESOURCE_SERVICE_H_ 203 #endif // CHROME_BROWSER_WEB_RESOURCE_PROMO_RESOURCE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/web_resource/gpu_blacklist_updater.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