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

Unified Diff: chrome/browser/translate/component_cld_data_harness.cc

Issue 701483002: [chrome/browser/translate, chrome/browser/thumbnails] Convert VLOGs to DVLOGs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/translate/component_cld_data_harness.cc
diff --git a/chrome/browser/translate/component_cld_data_harness.cc b/chrome/browser/translate/component_cld_data_harness.cc
index 3da8b5fdb58498fe8439902df4e4bef557f11590..45909ee9a5e7fe584039c507a283550c19b678f4 100644
--- a/chrome/browser/translate/component_cld_data_harness.cc
+++ b/chrome/browser/translate/component_cld_data_harness.cc
@@ -27,7 +27,7 @@ ComponentCldDataHarness::ComponentCldDataHarness() {
}
ComponentCldDataHarness::~ComponentCldDataHarness() {
- VLOG(1) << "Tearing down CLD data harness";
+ DVLOG(1) << "Tearing down CLD data harness";
// Dynamic data mode is enabled and we are using the component updater.
component_updater::CldComponentInstallerTraits::SetLatestCldDataFile(
base::FilePath());
@@ -36,7 +36,7 @@ ComponentCldDataHarness::~ComponentCldDataHarness() {
}
void ComponentCldDataHarness::Init() {
- VLOG(1) << "Initializing CLD data harness";
+ DVLOG(1) << "Initializing CLD data harness";
// Dynamic data mode is enabled and we are using the component updater.
ASSERT_NO_FATAL_FAILURE(CopyComponentTree());
base::FilePath data_file;
@@ -46,7 +46,7 @@ void ComponentCldDataHarness::Init() {
}
void ComponentCldDataHarness::ClearComponentDataFileState() {
- VLOG(1) << "Clearing component CLD data file state";
+ DVLOG(1) << "Clearing component CLD data file state";
base::FilePath nothing;
component_updater::CldComponentInstallerTraits::SetLatestCldDataFile(nothing);
}
@@ -71,7 +71,7 @@ void ComponentCldDataHarness::GetComponentDataFileDestination(
void ComponentCldDataHarness::DeleteComponentTree() {
base::FilePath tree_path;
ASSERT_NO_FATAL_FAILURE(GetExtractedComponentDestination(&tree_path));
- VLOG(1) << "Deleting CLD component test files from " << tree_path.value();
+ DVLOG(1) << "Deleting CLD component test files from " << tree_path.value();
base::DeleteFile(tree_path, true);
}
@@ -81,8 +81,8 @@ void ComponentCldDataHarness::CopyComponentTree() {
GetExtractedComponentDestination(&target_dir);
base::FilePath source_dir;
CldDataHarness::GetTestDataSourceDirectory(&source_dir);
- VLOG(1) << "Copying CLD component test files from " << source_dir.value()
- << " to " << target_dir.value();
+ DVLOG(1) << "Copying CLD component test files from " << source_dir.value()
+ << " to " << target_dir.value();
ASSERT_TRUE(base::CreateDirectoryAndGetError(target_dir, NULL));
ASSERT_TRUE(base::CopyDirectory(source_dir, target_dir, true));
ASSERT_TRUE(base::PathExists(target_dir));
« no previous file with comments | « chrome/browser/translate/chrome_translate_client.cc ('k') | chrome/browser/translate/standalone_cld_data_harness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698