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

Unified Diff: monitor_utils.h

Issue 652187: Added ConnectToNetwork (Closed)
Patch Set: merge in new changes Created 10 years, 10 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 | « monitor_network.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: monitor_utils.h
diff --git a/monitor_utils.h b/monitor_utils.h
index 3e464f5c9463d6e9252697cb60176cd9013dc570..bbc2614460dbfad2da3016e6f695a6ad3666d121 100644
--- a/monitor_utils.h
+++ b/monitor_utils.h
@@ -14,7 +14,9 @@ bool LoadCrosLibrary(const char** argv) {
app_path.erase(app_path.begin() + app_path.find_last_of("/"), app_path.end());
app_path += "/libcros.so";
- bool success = chromeos::LoadCros(app_path.c_str());
- DCHECK(success) << "LoadCros('" << app_path.c_str() << "') failed.";
+ std::string error_string = std::string();
+ bool success = chromeos::LoadLibcros(app_path.c_str(), error_string);
+ DCHECK(success) << "LoadLibcros('" << app_path.c_str() << "') failed: "
+ << error_string;
return true;
}
« no previous file with comments | « monitor_network.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698