Index: chrome/browser/component_updater/pnacl/pnacl_component_installer.h |
diff --git a/chrome/browser/component_updater/pnacl/pnacl_component_installer.h b/chrome/browser/component_updater/pnacl/pnacl_component_installer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cdf30e2e5ab09dffa183dfb2c35df7365232688e |
--- /dev/null |
+++ b/chrome/browser/component_updater/pnacl/pnacl_component_installer.h |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2011 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_PNACL_PNACL_COMPONENT_INSTALLER_H_ |
+#define CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_ |
+#pragma once |
+ |
+class ComponentUpdateService; |
+class Version; |
+ |
+namespace base { |
+class DictionaryValue; |
+} |
+ |
+// Component update registration for Portable Native Client. |
+void RegisterPnaclComponent(ComponentUpdateService* cus); |
+ |
+// Returns true if this browser is compatible with the given Pnacl component |
+// manifest, with the version specified in the manifest in |version_out|. |
+bool CheckPnaclComponentManifest(base::DictionaryValue* manifest, |
+ Version* version_out); |
+ |
+#endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_ |