summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_resource/promo_resource_service.h
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 12:53:55 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 12:53:55 +0000
commitb268458e1fe3257767dd548544c0f8fe3dc9f65d (patch)
tree90d04cb2d0aa7f377362216d2493b7c07a630730 /chrome/browser/web_resource/promo_resource_service.h
parentcb426edddaf0f5e90ca655a56a0be35a6a742476 (diff)
downloadchromium_src-b268458e1fe3257767dd548544c0f8fe3dc9f65d.zip
chromium_src-b268458e1fe3257767dd548544c0f8fe3dc9f65d.tar.gz
chromium_src-b268458e1fe3257767dd548544c0f8fe3dc9f65d.tar.bz2
Remove tips code from Chrome.
BUG=77429 TEST=nothing breaks. Review URL: http://codereview.chromium.org/6711075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_resource/promo_resource_service.h')
-rw-r--r--chrome/browser/web_resource/promo_resource_service.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/chrome/browser/web_resource/promo_resource_service.h b/chrome/browser/web_resource/promo_resource_service.h
index 5f833d6..733e6ae 100644
--- a/chrome/browser/web_resource/promo_resource_service.h
+++ b/chrome/browser/web_resource/promo_resource_service.h
@@ -29,26 +29,6 @@ class PromoResourceService
public:
explicit PromoResourceService(Profile* profile);
- // Unpack the web resource as a set of tips. Expects json in the form of:
- // {
- // "lang": "en",
- // "topic": {
- // "topid_id": "24013",
- // "topics": [
- // ],
- // "answers": [
- // {
- // "answer_id": "18625",
- // "inproduct": "Text here will be shown as a tip",
- // },
- // ...
- // ]
- // }
- // }
- //
- // Public for unit testing.
- void UnpackTips(const DictionaryValue& parsed_json);
-
// Unpack the web resource as a custom promo signal. Expects a start and end
// signal, with the promo to be shown in the tooltip of the start signal
// field. Delivery will be in json in the form of:
@@ -121,10 +101,7 @@ class PromoResourceService
// Public for unit testing.
void UnpackLogoSignal(const DictionaryValue& parsed_json);
- static const char* kCurrentTipPrefName;
- static const char* kTipCachePrefName;
-
- // Default server of dynamically loaded NTP HTML elements (promotions, tips):
+ // Default server of dynamically loaded NTP HTML elements.
static const char* kDefaultPromoResourceServer;
private: