OLD | NEW |
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 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 #include "base/version.h" | 16 #include "base/version.h" |
16 #include "components/component_updater/component_updater_service.h" | 17 #include "components/component_updater/component_updater_service.h" |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class DictionaryValue; | 20 class DictionaryValue; |
20 } | 21 } |
21 | 22 |
22 namespace pnacl { | 23 namespace pnacl { |
23 // Returns true if PNaCl actually needs an on-demand component update. | 24 // Returns true if PNaCl actually needs an on-demand component update. |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 private: | 74 private: |
74 base::Version current_version_; | 75 base::Version current_version_; |
75 std::string current_fingerprint_; | 76 std::string current_fingerprint_; |
76 ComponentUpdateService* cus_; | 77 ComponentUpdateService* cus_; |
77 DISALLOW_COPY_AND_ASSIGN(PnaclComponentInstaller); | 78 DISALLOW_COPY_AND_ASSIGN(PnaclComponentInstaller); |
78 }; | 79 }; |
79 | 80 |
80 } // namespace component_updater | 81 } // namespace component_updater |
81 | 82 |
82 #endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_ | 83 #endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_ |
OLD | NEW |