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

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

Issue 216923006: Add a component updater for the CLD2 data file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase onto latest master Created 6 years, 8 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
(Empty)
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
10 namespace component_updater {
11
12 class ComponentUpdateService;
13
14 void 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 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
19 // 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.
20 bool GetLatestCldDataFile(base::FilePath* path);
21
22 } // namespace component_updater
23
24 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698