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

Unified Diff: chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc

Issue 64683014: Mac OS X-specific implementation of Networking Private API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Explicitly track connected_network_guid and use it to notify network disconnect. Created 6 years, 11 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
Index: chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc
diff --git a/chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc b/chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc
index b09f6e8c672bf62c991f4c81d612c7f79ecbc0c7..267d95b4300c790ce2f541538b0e40491ba2efec 100644
--- a/chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc
+++ b/chrome/browser/extensions/api/networking_private/networking_private_api_nonchromeos.cc
@@ -394,8 +394,10 @@ void NetworkingPrivateVerifyDestinationFunction::ResultCallback(bool result) {
}
void NetworkingPrivateVerifyDestinationFunction::ErrorCallback(
- const std::string& error_name, const std::string& error) {
+ const std::string& error_name,
+ const std::string& error) {
error_ = error_name;
+ DLOG(ERROR) << error_name;
tbarzic 2014/01/27 20:17:24 Won't the errors from the extension api calls get
mef 2014/01/27 23:08:27 Done.
SendResponse(false);
}
@@ -446,7 +448,9 @@ void NetworkingPrivateVerifyAndEncryptDataFunction::ResultCallback(
}
void NetworkingPrivateVerifyAndEncryptDataFunction::ErrorCallback(
- const std::string& error_name, const std::string& error) {
+ const std::string& error_name,
+ const std::string& error) {
error_ = error_name;
+ DLOG(ERROR) << error_name;
SendResponse(false);
}

Powered by Google App Engine
This is Rietveld 408576698