Lines Matching refs:version

23 #include "base/version.h"
58 // If we don't have a Pepper Flash component, this is the version we claim.
101 // Pepper Flash plugins have the version encoded in the path itself
105 // |latest_version| returns the corresponding version number. |older_dirs|
117 Version version(path.BaseName().MaybeAsASCII());
118 if (!version.IsValid())
121 if (version.CompareTo(*latest_version) > 0) {
124 *latest_version = version;
130 *latest_version = version;
159 // pick the highest version number we find.
168 // file_name should now be basename_x_y_z. Split along '_' for version.
171 // Should have at least one version number.
174 // Meld version components back into a string, now separated by periods, so
180 Version version(version_string);
181 if (!version.IsValid())
184 if (version.CompareTo(*dll_version) > 0) {
186 *dll_version = version;
190 *dll_version = version;
235 plugin_info->version = flash_version.GetString();
257 const Version& version,
262 path, version, true, is_debugger, &plugin_info))
265 // If this is the non-debugger version, we enumerate any installed versions of
266 // pepper flash to make sure we only replace the installed version with a
267 // newer version.
278 // Do it only if the version we're trying to register is newer.
279 Version registered_version(base::UTF16ToUTF8(it->version));
281 version.CompareTo(registered_version) <= 0) {
285 // If the version is newer, remove the old one first.
293 // updated non-debugger version.
335 explicit PepperFlashComponentInstaller(const Version& version);
352 const Version& version)
353 : current_version_(version) {
354 DCHECK(version.IsValid());
364 Version version;
365 if (!CheckPepperFlashManifest(manifest, &version))
367 if (current_version_.CompareTo(version) > 0)
373 GetPepperFlashBaseDirectory().AppendASCII(version.GetString());
380 current_version_ = version;
386 base::Bind(&RegisterPepperFlashWithChrome, path, version, false));
407 manifest.GetStringASCII("version", &proposed_version);
408 Version version(proposed_version.c_str());
409 if (!version.IsValid())
417 *version_out = version;
431 *version_out = version;
439 const Version& version) {
443 pepflash.installer = new PepperFlashComponentInstaller(version);
444 pepflash.version = version;
461 Version version(kNullVersion);
463 if (GetPepperFlashDirectory(&path, &version, &older_dirs)) {
469 base::Bind(&RegisterPepperFlashWithChrome, path, version, false));
471 version = Version(kNullVersion);
478 base::Bind(&FinishPepperFlashUpdateRegistration, cus, version));
487 // Check for Debugging version of Flash and register if present.