Commit 3b813a80 authored by Sean Kau's avatar Sean Kau Committed by Commit Bot

Remove extra DVLOG

Removing DVLOG statements that were accidentally committed in a
previous CL.

Bug: None
Change-Id: I064fe999dd594af0d3fb9f9c17b9dab442fc44ea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1947953
Commit-Queue: Sean Kau <skau@chromium.org>
Commit-Queue: Zentaro Kavanagh <zentaro@chromium.org>
Auto-Submit: Sean Kau <skau@chromium.org>
Reviewed-by: default avatarZentaro Kavanagh <zentaro@chromium.org>
Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#720797}
parent 11a781cd
...@@ -255,7 +255,6 @@ class BulkPrintersCalculatorImpl : public BulkPrintersCalculator { ...@@ -255,7 +255,6 @@ class BulkPrintersCalculatorImpl : public BulkPrintersCalculator {
void SetData(std::unique_ptr<std::string> data) override { void SetData(std::unique_ptr<std::string> data) override {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
DVLOG(1) << "Set Data";
data_is_set_ = true; data_is_set_ = true;
TaskData task_data = TaskData task_data =
std::make_unique<TaskDataInternal>(++last_received_task_); std::make_unique<TaskDataInternal>(++last_received_task_);
...@@ -269,7 +268,6 @@ class BulkPrintersCalculatorImpl : public BulkPrintersCalculator { ...@@ -269,7 +268,6 @@ class BulkPrintersCalculatorImpl : public BulkPrintersCalculator {
void SetAccessMode(AccessMode mode) override { void SetAccessMode(AccessMode mode) override {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
DVLOG(1) << "Set Access Mode: " << mode;
TaskData task_data = TaskData task_data =
std::make_unique<TaskDataInternal>(++last_received_task_); std::make_unique<TaskDataInternal>(++last_received_task_);
base::PostTaskAndReplyWithResult( base::PostTaskAndReplyWithResult(
...@@ -282,7 +280,6 @@ class BulkPrintersCalculatorImpl : public BulkPrintersCalculator { ...@@ -282,7 +280,6 @@ class BulkPrintersCalculatorImpl : public BulkPrintersCalculator {
void SetBlacklist(const std::vector<std::string>& blacklist) override { void SetBlacklist(const std::vector<std::string>& blacklist) override {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
DVLOG(1) << "Number of blacklisted printers: " << blacklist.size();
TaskData task_data = TaskData task_data =
std::make_unique<TaskDataInternal>(++last_received_task_); std::make_unique<TaskDataInternal>(++last_received_task_);
base::PostTaskAndReplyWithResult( base::PostTaskAndReplyWithResult(
...@@ -295,7 +292,6 @@ class BulkPrintersCalculatorImpl : public BulkPrintersCalculator { ...@@ -295,7 +292,6 @@ class BulkPrintersCalculatorImpl : public BulkPrintersCalculator {
void SetWhitelist(const std::vector<std::string>& whitelist) override { void SetWhitelist(const std::vector<std::string>& whitelist) override {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
DVLOG(1) << "Number of whitelisted printers: " << whitelist.size();
TaskData task_data = TaskData task_data =
std::make_unique<TaskDataInternal>(++last_received_task_); std::make_unique<TaskDataInternal>(++last_received_task_);
base::PostTaskAndReplyWithResult( base::PostTaskAndReplyWithResult(
...@@ -326,7 +322,6 @@ class BulkPrintersCalculatorImpl : public BulkPrintersCalculator { ...@@ -326,7 +322,6 @@ class BulkPrintersCalculatorImpl : public BulkPrintersCalculator {
// task. // task.
void OnComputationComplete(TaskData task_data) { void OnComputationComplete(TaskData task_data) {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
DVLOG(1) << "Attempt to compute printers";
if (!task_data || task_data->task_id <= last_processed_task_) { if (!task_data || task_data->task_id <= last_processed_task_) {
// The task is outdated (ClearData() was called in the meantime). // The task is outdated (ClearData() was called in the meantime).
return; return;
...@@ -337,7 +332,6 @@ class BulkPrintersCalculatorImpl : public BulkPrintersCalculator { ...@@ -337,7 +332,6 @@ class BulkPrintersCalculatorImpl : public BulkPrintersCalculator {
// No changes in the object's state. // No changes in the object's state.
return; return;
} }
DVLOG(1) << "Number of printers: " << task_data->printers.size();
printers_.swap(task_data->printers); printers_.swap(task_data->printers);
task_data.reset(); task_data.reset();
// Notifies observers about changes. // Notifies observers about changes.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment