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

Unified 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: Address commenter notes 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 side-by-side diff with in-line comments
Download patch
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..b9de7c64f2ed379e9d9a22923a3159f099484f63
--- /dev/null
+++ b/chrome/browser/component_updater/cld_component_installer.h
@@ -0,0 +1,23 @@
+// 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 exists, i.e. if there is at least one
+// valid CLD data file installed on the system.
+bool GetLatestCldDataFile(base::FilePath* path);
+
+} // namespace component_updater
+
+#endif // CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_

Powered by Google App Engine
This is Rietveld 408576698