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

Unified Diff: chrome/nacl/pnacl_component_installer.h

Issue 8348026: Add a component installer for Portable NaCl. Registration of installer is (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes to rebase Created 9 years, 1 month 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/nacl/pnacl_component_installer.h
diff --git a/chrome/nacl/pnacl_component_installer.h b/chrome/nacl/pnacl_component_installer.h
new file mode 100644
index 0000000000000000000000000000000000000000..06d3cfd8d05c2e07380ea3352e24e42536420569
--- /dev/null
+++ b/chrome/nacl/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_NACL_PNACL_COMPONENT_INSTALLER_H_
+#define CHROME_NACL_PNACL_COMPONENT_INSTALLER_H_
+#pragma once
+
+class ComponentUpdateService;
+class Version;
+
+namespace base {
+class DictionaryValue;
+}
+
+// Component update registration 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_NACL_PNACL_COMPONENT_INSTALLER_H_

Powered by Google App Engine
This is Rietveld 408576698