cld_component_installer.h revision 5c02ac1a9c1b504631c0a3d2b6e737b5d738bae1
1// Copyright 2014 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_CLD_COMPONENT_INSTALLER_H_ 6#define CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ 7 8#include "base/files/file_path.h" 9 10namespace component_updater { 11 12class ComponentUpdateService; 13 14void RegisterCldComponent(ComponentUpdateService* cus); 15 16// Places the path to the latest CLD data file into the specified path object. 17// Returns true if and only if the file has been observed to exist at least 18// once and was valid when it was observed; if the function returns false, the 19// path parameter is not modified. This function is threadsafe. 20bool GetLatestCldDataFile(base::FilePath* path); 21 22} // namespace component_updater 23 24#endif // CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ 25