Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COMPONENT_UPDATER_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ |
| 6 #define CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ | 6 #define CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 193 virtual void GetComponents(std::vector<CrxComponentInfo>* components) = 0; | 193 virtual void GetComponents(std::vector<CrxComponentInfo>* components) = 0; |
| 194 | 194 |
| 195 virtual ~ComponentUpdateService() {} | 195 virtual ~ComponentUpdateService() {} |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 // Creates the component updater. You must pass a valid |config| allocated on | 198 // Creates the component updater. You must pass a valid |config| allocated on |
| 199 // the heap which the component updater will own. | 199 // the heap which the component updater will own. |
| 200 ComponentUpdateService* ComponentUpdateServiceFactory( | 200 ComponentUpdateService* ComponentUpdateServiceFactory( |
| 201 ComponentUpdateService::Configurator* config); | 201 ComponentUpdateService::Configurator* config); |
| 202 | 202 |
| 203 // Deserialize the CRX manifest. The top level must be a dictionary. | |
|
xhwang
2013/10/25 17:33:22
s/Deserialize/Deserializes
ddorwin
2013/10/25 19:03:40
Done.
| |
| 204 base::DictionaryValue* ReadComponentManifest(const base::FilePath& unpack_path); | |
|
xhwang
2013/10/25 17:33:22
who owns the returned dictionary value?
ddorwin
2013/10/25 19:03:40
Done.
| |
| 205 | |
| 203 #endif // CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ | 206 #endif // CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ |
| OLD | NEW |