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

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

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PLUGINS_RESOURCE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_WEB_RESOURCE_PLUGINS_RESOURCE_SERVICE_H_
6 #define CHROME_BROWSER_WEB_RESOURCE_PLUGINS_RESOURCE_SERVICE_H_ 6 #define CHROME_BROWSER_WEB_RESOURCE_PLUGINS_RESOURCE_SERVICE_H_
7 7
8 #include "chrome/browser/web_resource/web_resource_service.h" 8 #include "chrome/browser/web_resource/web_resource_service.h"
9 9
10 class PrefService;
11 class PrefServiceSimple;
12
10 // This resource service periodically fetches plug-in metadata 13 // This resource service periodically fetches plug-in metadata
11 // from a remote server and updates local state and PluginFinder. 14 // from a remote server and updates local state and PluginFinder.
12 class PluginsResourceService : public WebResourceService { 15 class PluginsResourceService : public WebResourceService {
13 public: 16 public:
14 explicit PluginsResourceService(PrefService* local_state); 17 explicit PluginsResourceService(PrefService* local_state);
15 18
16 static void RegisterPrefs(PrefService* local_state); 19 static void RegisterPrefs(PrefServiceSimple* local_state);
17 20
18 private: 21 private:
19 virtual ~PluginsResourceService(); 22 virtual ~PluginsResourceService();
20 23
21 // WebResourceService override to process the parsed information. 24 // WebResourceService override to process the parsed information.
22 virtual void Unpack(const base::DictionaryValue& parsed_json) OVERRIDE; 25 virtual void Unpack(const base::DictionaryValue& parsed_json) OVERRIDE;
23 26
24 DISALLOW_COPY_AND_ASSIGN(PluginsResourceService); 27 DISALLOW_COPY_AND_ASSIGN(PluginsResourceService);
25 }; 28 };
26 29
27 #endif // CHROME_BROWSER_WEB_RESOURCE_PLUGINS_RESOURCE_SERVICE_H_ 30 #endif // CHROME_BROWSER_WEB_RESOURCE_PLUGINS_RESOURCE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/web_resource/notification_promo.cc ('k') | chrome/browser/web_resource/plugins_resource_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698