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

Unified Diff: extensions/browser/api/networking_private/networking_private_delegate.h

Issue 1272003002: Allow networkingPrivate to request configure UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 5 years, 4 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: extensions/browser/api/networking_private/networking_private_delegate.h
diff --git a/extensions/browser/api/networking_private/networking_private_delegate.h b/extensions/browser/api/networking_private/networking_private_delegate.h
index 99b46a0c5997e5e00583ad458021c47b08e62722..c08ff651a9576ff7aad9432613a0bfdedc75d94c 100644
--- a/extensions/browser/api/networking_private/networking_private_delegate.h
+++ b/extensions/browser/api/networking_private/networking_private_delegate.h
@@ -90,6 +90,11 @@ class NetworkingPrivateDelegate : public KeyedService {
// with |guid|.
virtual void ShowAccountDetails(const std::string& guid) const = 0;
+ // Possibly handle a connection failure, e.g. by showing the configuration
+ // UI. Returns true if the error was handled, i.e. the UI was shown.
+ virtual bool HandleConnectFailed(const std::string& guid,
+ const std::string error) const = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(UIDelegate);
};
« no previous file with comments | « extensions/browser/api/networking_private/networking_private_chromeos.cc ('k') | ui/chromeos/network/network_connect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698