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

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

Issue 321473003: Elevated install of recovery component (component update part) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 28 matching lines...) Expand all
39 public: 39 public:
40 PnaclComponentInstaller(); 40 PnaclComponentInstaller();
41 41
42 virtual ~PnaclComponentInstaller(); 42 virtual ~PnaclComponentInstaller();
43 43
44 virtual void OnUpdateError(int error) OVERRIDE; 44 virtual void OnUpdateError(int error) OVERRIDE;
45 45
46 virtual bool Install(const base::DictionaryValue& manifest, 46 virtual bool Install(const base::DictionaryValue& manifest,
47 const base::FilePath& unpack_path) OVERRIDE; 47 const base::FilePath& unpack_path) OVERRIDE;
48 48
49 virtual base::FilePath GetBackupPath() const OVERRIDE;
50
51 virtual void InstallExternally() OVERRIDE;
52
49 virtual bool GetInstalledFile(const std::string& file, 53 virtual bool GetInstalledFile(const std::string& file,
50 base::FilePath* installed_file) OVERRIDE; 54 base::FilePath* installed_file) OVERRIDE;
51 55
52 // Register a PNaCl component for the first time. 56 // Register a PNaCl component for the first time.
53 void RegisterPnaclComponent(ComponentUpdateService* cus, 57 void RegisterPnaclComponent(ComponentUpdateService* cus,
54 const base::CommandLine& command_line); 58 const base::CommandLine& command_line);
55 59
56 CrxComponent GetCrxComponent(); 60 CrxComponent GetCrxComponent();
57 61
58 // Return true if PNaCl updates are disabled. 62 // Return true if PNaCl updates are disabled.
(...skipping 20 matching lines...) Expand all
79 bool updates_disabled_; 83 bool updates_disabled_;
80 base::Version current_version_; 84 base::Version current_version_;
81 std::string current_fingerprint_; 85 std::string current_fingerprint_;
82 ComponentUpdateService* cus_; 86 ComponentUpdateService* cus_;
83 DISALLOW_COPY_AND_ASSIGN(PnaclComponentInstaller); 87 DISALLOW_COPY_AND_ASSIGN(PnaclComponentInstaller);
84 }; 88 };
85 89
86 } // namespace component_updater 90 } // namespace component_updater
87 91
88 #endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_ 92 #endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698