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

Unified Diff: chrome/browser/extensions/extension_install_prompt.cc

Issue 1234313003: [Extensions] Remove accidentally-added logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/extensions/extension_install_prompt.cc
diff --git a/chrome/browser/extensions/extension_install_prompt.cc b/chrome/browser/extensions/extension_install_prompt.cc
index 6c093e1dba7a3a53473ae8573c446b5e7608be9f..30c8beb6d10856ebf054c72dc88b23dd16a33af1 100644
--- a/chrome/browser/extensions/extension_install_prompt.cc
+++ b/chrome/browser/extensions/extension_install_prompt.cc
@@ -154,20 +154,17 @@ SkBitmap GetDefaultIconBitmapForMaxScaleFactor(bool is_app) {
bool AutoConfirmPrompt(ExtensionInstallPrompt::Delegate* delegate) {
switch (extensions::ScopedTestDialogAutoConfirm::GetAutoConfirmValue()) {
case extensions::ScopedTestDialogAutoConfirm::NONE:
- LOG(WARNING) << "None!";
return false;
// We use PostTask instead of calling the delegate directly here, because in
// the real implementations it's highly likely the message loop will be
// pumping a few times before the user clicks accept or cancel.
case extensions::ScopedTestDialogAutoConfirm::ACCEPT:
- LOG(WARNING) << "Proceeding!";
base::MessageLoop::current()->PostTask(
FROM_HERE,
base::Bind(&ExtensionInstallPrompt::Delegate::InstallUIProceed,
base::Unretained(delegate)));
return true;
case extensions::ScopedTestDialogAutoConfirm::CANCEL:
- LOG(WARNING) << "Canceling!";
base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE,
base::Bind(&ExtensionInstallPrompt::Delegate::InstallUIAbort,
« 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