summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_resource/web_resource_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/web_resource/web_resource_service.h')
-rw-r--r--chrome/browser/web_resource/web_resource_service.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/web_resource/web_resource_service.h b/chrome/browser/web_resource/web_resource_service.h
index 1f08a9d..22509a8 100644
--- a/chrome/browser/web_resource/web_resource_service.h
+++ b/chrome/browser/web_resource/web_resource_service.h
@@ -11,10 +11,13 @@
#include "content/browser/utility_process_host.h"
#include "content/common/content_notification_types.h"
-class DictionaryValue;
class PrefService;
class ResourceDispatcherHost;
+namespace base {
+class DictionaryValue;
+}
+
// A WebResourceService fetches data from a web resource server and store
// locally as user preference.
class WebResourceService : public UtilityProcessHost::Client {
@@ -40,7 +43,7 @@ class WebResourceService : public UtilityProcessHost::Client {
protected:
virtual ~WebResourceService();
- virtual void Unpack(const DictionaryValue& parsed_json) = 0;
+ virtual void Unpack(const base::DictionaryValue& parsed_json) = 0;
// If delay_ms is positive, schedule notification with the delay.
// If delay_ms is 0, notify immediately by calling WebResourceStateChange().
@@ -61,7 +64,7 @@ class WebResourceService : public UtilityProcessHost::Client {
void EndFetch();
// Puts parsed json data in the right places, and writes to prefs file.
- void OnWebResourceUnpacked(const DictionaryValue& parsed_json);
+ void OnWebResourceUnpacked(const base::DictionaryValue& parsed_json);
// Notify listeners that the state of a web resource has changed.
void WebResourceStateChange();