flash_component_installer.h revision c2e0dbddbe15c98d52c4786dac06cb8952a8ae6d
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 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_COMPONENT_UPDATER_FLASH_COMPONENT_INSTALLER_H_ 6#define CHROME_BROWSER_COMPONENT_UPDATER_FLASH_COMPONENT_INSTALLER_H_ 7 8class ComponentUpdateService; 9 10namespace base { 11class DictionaryValue; 12class Version; 13} 14 15// Our job is to 1) find what Pepper flash is installed (if any) and 2) register 16// with the component updater to download the latest version when available. 17// The first part is IO intensive so we do it asynchronously in the file thread. 18void RegisterPepperFlashComponent(ComponentUpdateService* cus); 19 20// Returns true if this browser is compatible with the given Pepper Flash 21// manifest, with the version specified in the manifest in |version_out|. 22bool CheckPepperFlashManifest(const base::DictionaryValue& manifest, 23 base::Version* version_out); 24 25#endif // CHROME_BROWSER_COMPONENT_UPDATER_FLASH_COMPONENT_INSTALLER_H_ 26