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

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

Issue 2013403003: Add logging in WidevineCdmComponentInstaller to help investigate a bug. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use LOG(WARNING) Created 4 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 | no next file » | 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 05269336365b4baeed67dd1f087e2eac7eff6046..1976555a4d65cf6c1e85aca6850900ef9caab327 100644
--- a/chrome/browser/component_updater/widevine_cdm_component_installer.cc
+++ b/chrome/browser/component_updater/widevine_cdm_component_installer.cc
@@ -206,6 +206,8 @@ void RegisterWidevineCdmWithChrome(
const base::Version& cdm_version,
const base::FilePath& cdm_install_dir,
std::unique_ptr<base::DictionaryValue> manifest) {
+ LOG(WARNING) << __FUNCTION__;
+
DCHECK_CURRENTLY_ON(BrowserThread::UI);
const std::string codecs = GetCodecs(*manifest);
@@ -317,6 +319,9 @@ bool WidevineCdmComponentInstallerTraits::VerifyInstallation(
// <profile>\AppData\Local\Google\Chrome\User Data\WidevineCdm\.
base::FilePath WidevineCdmComponentInstallerTraits::GetRelativeInstallDir()
const {
+ // Add LOG(WARNING) here and below to help investigate http://crbug.com/614745
+ // TODO(xhwang): Remove LOG(WARNING)s in this file after investigation.
+ LOG(WARNING) << __FUNCTION__;
return base::FilePath(FILE_PATH_LITERAL("WidevineCdm"));
}
@@ -346,6 +351,8 @@ void WidevineCdmComponentInstallerTraits::UpdateCdmAdapter(
const base::Version& cdm_version,
const base::FilePath& cdm_install_dir,
std::unique_ptr<base::DictionaryValue> manifest) {
+ LOG(WARNING) << __FUNCTION__;
+
const base::FilePath adapter_version_path =
GetPlatformDirectory(cdm_install_dir).AppendASCII(kCdmAdapterVersionName);
const base::FilePath adapter_install_path =
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698