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

Side by Side Diff: chromeos/network/network_connection_handler.h

Issue 22340006: Show notifications for Network Config errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + move comment Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_NETWORK_NETWORK_CONNECTION_HANDLER_H_ 5 #ifndef CHROMEOS_NETWORK_NETWORK_CONNECTION_HANDLER_H_
6 #define CHROMEOS_NETWORK_NETWORK_CONNECTION_HANDLER_H_ 6 #define CHROMEOS_NETWORK_NETWORK_CONNECTION_HANDLER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 static const char kErrorNotFound[]; 51 static const char kErrorNotFound[];
52 static const char kErrorConnected[]; 52 static const char kErrorConnected[];
53 static const char kErrorConnecting[]; 53 static const char kErrorConnecting[];
54 static const char kErrorPassphraseRequired[]; 54 static const char kErrorPassphraseRequired[];
55 static const char kErrorActivationRequired[]; 55 static const char kErrorActivationRequired[];
56 static const char kErrorCertificateRequired[]; 56 static const char kErrorCertificateRequired[];
57 static const char kErrorAuthenticationRequired[]; 57 static const char kErrorAuthenticationRequired[];
58 static const char kErrorConfigurationRequired[]; 58 static const char kErrorConfigurationRequired[];
59 static const char kErrorShillError[]; 59 static const char kErrorShillError[];
60 static const char kErrorConnectFailed[]; 60 static const char kErrorConnectFailed[];
61 static const char kErrorConfigureFailed[];
62 static const char kErrorActivateFailed[];
61 static const char kErrorMissingProvider[]; 63 static const char kErrorMissingProvider[];
64 static const char kErrorConnectCanceled[];
62 static const char kErrorUnknown[]; 65 static const char kErrorUnknown[];
63 66
64 // Constants for |error_name| from |error_callback| for Disconnect. 67 // Constants for |error_name| from |error_callback| for Disconnect.
65 static const char kErrorNotConnected[]; 68 static const char kErrorNotConnected[];
66 69
67 virtual ~NetworkConnectionHandler(); 70 virtual ~NetworkConnectionHandler();
68 71
69 // ConnectToNetwork() will start an asynchronous connection attempt. 72 // ConnectToNetwork() will start an asynchronous connection attempt.
70 // On success, |success_callback| will be called. 73 // On success, |success_callback| will be called.
71 // On failure, |error_callback| will be called with |error_name| one of: 74 // On failure, |error_callback| will be called with |error_name| one of:
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 // Track certificate loading state. 205 // Track certificate loading state.
203 bool logged_in_; 206 bool logged_in_;
204 bool certificates_loaded_; 207 bool certificates_loaded_;
205 208
206 DISALLOW_COPY_AND_ASSIGN(NetworkConnectionHandler); 209 DISALLOW_COPY_AND_ASSIGN(NetworkConnectionHandler);
207 }; 210 };
208 211
209 } // namespace chromeos 212 } // namespace chromeos
210 213
211 #endif // CHROMEOS_NETWORK_NETWORK_CONNECTION_HANDLER_H_ 214 #endif // CHROMEOS_NETWORK_NETWORK_CONNECTION_HANDLER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/shill_service_client_stub.cc ('k') | chromeos/network/network_connection_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698