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

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

Issue 2036583002: Clear logging in Widevine CDM and default component installer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 1976555a4d65cf6c1e85aca6850900ef9caab327..6952870bfa5dd078c6f80c71c5c12d48f7fea3e2 100644
--- a/chrome/browser/component_updater/widevine_cdm_component_installer.cc
+++ b/chrome/browser/component_updater/widevine_cdm_component_installer.cc
@@ -119,6 +119,7 @@ bool MakeWidevineCdmPluginInfo(const base::Version& version,
if (!version.IsValid() ||
version.components().size() !=
static_cast<size_t>(kWidevineCdmVersionNumComponents)) {
+ DLOG(WARNING) << "Invalid version.";
return false;
}
@@ -206,8 +207,6 @@ 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);
@@ -217,6 +216,8 @@ void RegisterWidevineCdmWithChrome(
return;
}
+ VLOG(1) << "Register Widevine CDM with Chrome";
+
// true = Add to beginning of list to override any existing registrations.
PluginService::GetInstance()->RegisterInternalPlugin(
plugin_info.ToWebPluginInfo(), true);
@@ -319,9 +320,6 @@ 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"));
}
@@ -351,8 +349,6 @@ 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 =

Powered by Google App Engine
This is Rietveld 408576698