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

Unified Diff: chromeos/components/tether/initializer.cc

Issue 2961733002: [CrOS Tether] Remove spammy log from Initializer. (Closed)
Patch Set: hansberry@ comments. Created 3 years, 6 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 | « chromeos/components/tether/initializer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/components/tether/initializer.cc
diff --git a/chromeos/components/tether/initializer.cc b/chromeos/components/tether/initializer.cc
index 9b446e0ccdc938f1fa4cabac1e4761cb0158116b..b6af3b5f323f45fae4f5d09b859016c860e681dd 100644
--- a/chromeos/components/tether/initializer.cc
+++ b/chromeos/components/tether/initializer.cc
@@ -64,17 +64,16 @@ void Initializer::Init(
NetworkConnectionHandler* network_connection_handler) {
if (!device::BluetoothAdapterFactory::IsBluetoothSupported()) {
PA_LOG(WARNING) << "Bluetooth is not supported on this device; cannot "
- << "initialize tether feature.";
+ << "initialize Tether feature.";
return;
}
if (instance_) {
- PA_LOG(WARNING) << "Tether initialization was triggered when the feature "
- << "had already been initialized; exiting initialization "
- << "early.";
+ // The Tether feature has already been initialized. No need to do anything.
return;
}
+ PA_LOG(INFO) << "Initializing Tether feature.";
instance_ =
new Initializer(cryptauth_service, std::move(notification_presenter),
pref_service, token_service, network_state_handler,
« no previous file with comments | « chromeos/components/tether/initializer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698