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

Unified Diff: chrome/browser/component_updater/widevine_cdm_component_installer.cc

Issue 15658009: Fix a type mismatch on Windows caused by r201738. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/chrome_paths.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/component_updater/widevine_cdm_component_installer.cc
diff --git a/chrome/browser/component_updater/widevine_cdm_component_installer.cc b/chrome/browser/component_updater/widevine_cdm_component_installer.cc
index f43c28a8f2f7b8708af69a88e6cbe28e6bb0cb62..000ff8611610462b8f986dc9948533cb67fc1ceb 100644
--- a/chrome/browser/component_updater/widevine_cdm_component_installer.cc
+++ b/chrome/browser/component_updater/widevine_cdm_component_installer.cc
@@ -217,7 +217,7 @@ bool WidevineCdmComponentInstaller::Install(
if (current_version_.CompareTo(version) > 0)
return false;
- if (!file_util::PathExists(unpack_path.Append(kWidevineCdmFileName)))
+ if (!file_util::PathExists(unpack_path.AppendASCII(kWidevineCdmFileName)))
return false;
base::FilePath adapter_source_path;
@@ -234,7 +234,7 @@ bool WidevineCdmComponentInstaller::Install(
return false;
base::FilePath adapter_install_path =
- install_path.Append(kWidevineCdmAdapterFileName);
+ install_path.AppendASCII(kWidevineCdmAdapterFileName);
if (!file_util::CopyFile(adapter_source_path, adapter_install_path))
return false;
@@ -270,8 +270,8 @@ void StartWidevineCdmUpdateRegistration(ComponentUpdateService* cus) {
base::Version version(kNullVersion);
std::vector<base::FilePath> older_dirs;
if (GetWidevineCdmDirectory(&path, &version, &older_dirs)) {
- if (file_util::PathExists(path.Append(kWidevineCdmAdapterFileName)) &&
- file_util::PathExists(path.Append(kWidevineCdmFileName))) {
+ if (file_util::PathExists(path.AppendASCII(kWidevineCdmAdapterFileName)) &&
+ file_util::PathExists(path.AppendASCII(kWidevineCdmFileName))) {
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
base::Bind(&RegisterWidevineCdmWithChrome, path, version));
« no previous file with comments | « no previous file | chrome/common/chrome_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698