Lines Matching refs:dial
5 #include "chrome/browser/extensions/api/dial/dial_api.h"
10 #include "chrome/browser/extensions/api/dial/dial_api_factory.h"
15 #include "chrome/common/extensions/api/dial.h"
23 const char kDialServiceError[] = "Dial service error.";
74 DVLOG(1) << "DIAL device event listener added.";
80 DVLOG(1) << "DIAL device event listener removed";
99 std::vector<linked_ptr<api::dial::DialDevice> > args;
102 linked_ptr<api::dial::DialDevice> api_device =
103 make_linked_ptr(new api::dial::DialDevice);
107 scoped_ptr<base::ListValue> results = api::dial::OnDeviceList::Create(args);
117 api::dial::DialError dial_error;
120 dial_error.code = api::dial::DIAL_ERROR_CODE_NO_LISTENERS;
123 dial_error.code = api::dial::DIAL_ERROR_CODE_NO_VALID_NETWORK_INTERFACES;
126 dial_error.code = api::dial::DIAL_ERROR_CODE_CELLULAR_NETWORK;
129 dial_error.code = api::dial::DIAL_ERROR_CODE_NETWORK_DISCONNECTED;
132 dial_error.code = api::dial::DIAL_ERROR_CODE_SOCKET_ERROR;
135 dial_error.code = api::dial::DIAL_ERROR_CODE_UNKNOWN;
139 scoped_ptr<base::ListValue> results = api::dial::OnError::Create(dial_error);