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

Side by Side Diff: chrome/browser/component_updater/pnacl/pnacl_component_installer.h

Issue 12054003: Add an API to component_updater that asks to do an update check "now". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move commandline check Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_ 6 #define CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_
7 7
8 class CommandLine;
8 class ComponentUpdateService; 9 class ComponentUpdateService;
9 class Version; 10 class Version;
10 11
11 namespace base { 12 namespace base {
12 class DictionaryValue; 13 class DictionaryValue;
13 } 14 }
14 15
15 // Component update registration for Portable Native Client. 16 // Component update registration for Portable Native Client.
16 void RegisterPnaclComponent(ComponentUpdateService* cus); 17 void RegisterPnaclComponent(ComponentUpdateService* cus,
18 const CommandLine& command_line);
17 19
18 // Returns true if this browser is compatible with the given Pnacl component 20 // Returns true if this browser is compatible with the given Pnacl component
19 // manifest, with the version specified in the manifest in |version_out|. 21 // manifest, with the version specified in the manifest in |version_out|.
20 bool CheckPnaclComponentManifest(base::DictionaryValue* manifest, 22 bool CheckPnaclComponentManifest(base::DictionaryValue* manifest,
21 Version* version_out); 23 Version* version_out);
22 24
23 #endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_ 25 #endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698