diff options
author | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-18 23:02:54 +0000 |
---|---|---|
committer | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-18 23:02:54 +0000 |
commit | ea0c98cfa2849f95bf40238c9f476c9cebb22244 (patch) | |
tree | ec81fe0c664cb6c0adddbd5d392313e8fbb93ec5 /chrome/browser/profile.h | |
parent | 1f70f0ca51d1c61d3a775507b2b69dcdf60e77df (diff) | |
download | chromium_src-ea0c98cfa2849f95bf40238c9f476c9cebb22244.zip chromium_src-ea0c98cfa2849f95bf40238c9f476c9cebb22244.tar.gz chromium_src-ea0c98cfa2849f95bf40238c9f476c9cebb22244.tar.bz2 |
First draft of web resource service; fetches data from a JSON feed
and stores it in user prefs, where it can be used by the new tab page.
BUG = http://crbug.com/13363
Review URL: http://codereview.chromium.org/125052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r-- | chrome/browser/profile.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h index 0c6179e..c4203db 100644 --- a/chrome/browser/profile.h +++ b/chrome/browser/profile.h @@ -15,6 +15,7 @@ #include "base/file_path.h" #include "base/scoped_ptr.h" #include "base/timer.h" +#include "chrome/browser/web_resource/web_resource_service.h" #ifdef CHROME_PERSONALIZATION #include "chrome/personalization/personalization.h" #endif @@ -277,6 +278,9 @@ class Profile { virtual void InitExtensions() = 0; + // Start up service that gathers data from web resource feeds. + virtual void InitWebResources() = 0; + #ifdef UNIT_TEST // Use with caution. GetDefaultRequestContext may be called on any thread! static void set_default_request_context(URLRequestContext* c) { @@ -352,6 +356,7 @@ class ProfileImpl : public Profile, virtual SpellChecker* GetSpellChecker(); virtual void MarkAsCleanShutdown(); virtual void InitExtensions(); + virtual void InitWebResources(); #ifdef CHROME_PERSONALIZATION virtual ProfilePersonalization* GetProfilePersonalization(); #endif @@ -399,6 +404,7 @@ class ProfileImpl : public Profile, scoped_ptr<TemplateURLFetcher> template_url_fetcher_; scoped_ptr<TemplateURLModel> template_url_model_; scoped_ptr<BookmarkModel> bookmark_bar_model_; + scoped_refptr<WebResourceService> web_resource_service_; #ifdef CHROME_PERSONALIZATION scoped_ptr<ProfilePersonalization> personalization_; |