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

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

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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_PLUGINS_PLUGINS_RESOURCE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGINS_RESOURCE_SERVICE_H_
6 #define CHROME_BROWSER_PLUGINS_PLUGINS_RESOURCE_SERVICE_H_ 6 #define CHROME_BROWSER_PLUGINS_PLUGINS_RESOURCE_SERVICE_H_
7 7
8 #include "base/macros.h"
8 #include "components/web_resource/web_resource_service.h" 9 #include "components/web_resource/web_resource_service.h"
9 10
10 class PrefService; 11 class PrefService;
11 class PrefRegistrySimple; 12 class PrefRegistrySimple;
12 13
13 // This resource service periodically fetches plugin metadata 14 // This resource service periodically fetches plugin metadata
14 // from a remote server and updates local state and PluginFinder. 15 // from a remote server and updates local state and PluginFinder.
15 class PluginsResourceService : public web_resource::WebResourceService { 16 class PluginsResourceService : public web_resource::WebResourceService {
16 public: 17 public:
17 explicit PluginsResourceService(PrefService* local_state); 18 explicit PluginsResourceService(PrefService* local_state);
18 ~PluginsResourceService() override; 19 ~PluginsResourceService() override;
19 20
20 void Init(); 21 void Init();
21 22
22 static void RegisterPrefs(PrefRegistrySimple* registry); 23 static void RegisterPrefs(PrefRegistrySimple* registry);
23 24
24 private: 25 private:
25 // WebResourceService override to process the parsed information. 26 // WebResourceService override to process the parsed information.
26 void Unpack(const base::DictionaryValue& parsed_json) override; 27 void Unpack(const base::DictionaryValue& parsed_json) override;
27 28
28 DISALLOW_COPY_AND_ASSIGN(PluginsResourceService); 29 DISALLOW_COPY_AND_ASSIGN(PluginsResourceService);
29 }; 30 };
30 31
31 #endif // CHROME_BROWSER_PLUGINS_PLUGINS_RESOURCE_SERVICE_H_ 32 #endif // CHROME_BROWSER_PLUGINS_PLUGINS_RESOURCE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_status_pref_setter.h ('k') | chrome/browser/plugins/plugins_resource_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698