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

Side by Side Diff: chrome/browser/component_updater/component_updater_service.h

Issue 42003002: Extract supported codecs from CDM component manifest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use constant; support existing manifests Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698