Chromium Code Reviews| Index: chrome/browser/component_updater/cld_component_installer.h |
| diff --git a/chrome/browser/component_updater/cld_component_installer.h b/chrome/browser/component_updater/cld_component_installer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b84c5994e0d33c098a19fd7a79df95bfc3ce47a6 |
| --- /dev/null |
| +++ b/chrome/browser/component_updater/cld_component_installer.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ |
| +#define CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ |
| + |
| +#include "base/files/file_path.h" |
| + |
| +namespace component_updater { |
| + |
| +class ComponentUpdateService; |
| + |
| +void RegisterCldComponent(ComponentUpdateService* cus); |
| + |
| +// Places the path to the latest CLD data file into the specified path object. |
| +// Returns true if and only if the file has been observed to exist at least |
| +// once and was valid when it was observed; if the method returns false, the |
|
Sorin Jianu
2014/04/25 16:39:41
Small terminology neat. This is a function not a m
Andrew Hayden (chromium.org)
2014/04/25 17:07:21
Done. Sorry, my C++ terminology has atrophied. Get
|
| +// path parameter is not modified. This method is completely threadsafe. |
|
Sorin Jianu
2014/04/25 16:39:41
I think we could simply say: "The function is thre
Andrew Hayden (chromium.org)
2014/04/25 17:07:21
Done.
|
| +bool GetLatestCldDataFile(base::FilePath* path); |
| + |
| +} // namespace component_updater |
| + |
| +#endif // CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ |