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

Side by Side Diff: chrome/browser/component_updater/pepper_flash_component_installer.h

Issue 2041573002: Refactor flash component installer to use DefaultComponentInstaller. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync & non-Linux fix Created 4 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/component_updater/pepper_flash_component_installer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_COMPONENT_UPDATER_PEPPER_FLASH_COMPONENT_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_PEPPER_FLASH_COMPONENT_INSTALLER_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_PEPPER_FLASH_COMPONENT_INSTALLER_H_ 6 #define CHROME_BROWSER_COMPONENT_UPDATER_PEPPER_FLASH_COMPONENT_INSTALLER_H_
7 7
8 namespace base {
9 class DictionaryValue;
10 class Version;
11 }
12
13 namespace component_updater { 8 namespace component_updater {
14 9
15 class ComponentUpdateService; 10 class ComponentUpdateService;
16 11
17 // Our job is to 1) find what Pepper flash is installed (if any) and 2) register 12 // Our job is to 1) find what Pepper flash is installed (if any) and 2) register
18 // with the component updater to download the latest version when available. 13 // with the component updater to download the latest version when available.
19 // The first part is IO intensive so we do it asynchronously in the file thread. 14 // The first part is IO intensive so we do it asynchronously in the file thread.
20 void RegisterPepperFlashComponent(ComponentUpdateService* cus); 15 void RegisterPepperFlashComponent(ComponentUpdateService* cus);
21 16
22 } // namespace component_updater 17 } // namespace component_updater
23 18
24 #endif // CHROME_BROWSER_COMPONENT_UPDATER_PEPPER_FLASH_COMPONENT_INSTALLER_H_ 19 #endif // CHROME_BROWSER_COMPONENT_UPDATER_PEPPER_FLASH_COMPONENT_INSTALLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/component_updater/pepper_flash_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698