SerialConnection 60 chrome/browser/extensions/api/serial/serial_api.cc manager_ = ApiResourceManager<SerialConnection>::Get(browser_context()); SerialConnection 69 chrome/browser/extensions/api/serial/serial_api.cc SerialConnection* SerialAsyncApiFunction::GetSerialConnection( SerialConnection 189 chrome/browser/extensions/api/serial/serial_api.cc SerialConnection* SerialConnectFunction::CreateSerialConnection( SerialConnection 191 chrome/browser/extensions/api/serial/serial_api.cc return new SerialConnection(port, extension_id); SerialConnection 206 chrome/browser/extensions/api/serial/serial_api.cc SerialConnection* connection = GetSerialConnection(params_->connection_id); SerialConnection 227 chrome/browser/extensions/api/serial/serial_api.cc SerialConnection* connection = GetSerialConnection(params_->connection_id); SerialConnection 249 chrome/browser/extensions/api/serial/serial_api.cc SerialConnection* connection = GetSerialConnection(params_->connection_id); SerialConnection 283 chrome/browser/extensions/api/serial/serial_api.cc SerialConnection* connection = GetSerialConnection(params_->connection_id); SerialConnection 307 chrome/browser/extensions/api/serial/serial_api.cc SerialConnection* connection = GetSerialConnection(params_->connection_id); SerialConnection 336 chrome/browser/extensions/api/serial/serial_api.cc SerialConnection* connection = GetSerialConnection(params_->connection_id); SerialConnection 364 chrome/browser/extensions/api/serial/serial_api.cc SerialConnection *connection = GetSerialConnection(connection_id); SerialConnection 388 chrome/browser/extensions/api/serial/serial_api.cc SerialConnection* connection = GetSerialConnection(params_->connection_id); SerialConnection 415 chrome/browser/extensions/api/serial/serial_api.cc SerialConnection* connection = GetSerialConnection(params_->connection_id); SerialConnection 17 chrome/browser/extensions/api/serial/serial_api.h class SerialConnection; SerialConnection 34 chrome/browser/extensions/api/serial/serial_api.h SerialConnection* GetSerialConnection(int api_resource_id); SerialConnection 37 chrome/browser/extensions/api/serial/serial_api.h ApiResourceManager<SerialConnection>* manager_; SerialConnection 67 chrome/browser/extensions/api/serial/serial_api.h virtual SerialConnection* CreateSerialConnection( SerialConnection 84 chrome/browser/extensions/api/serial/serial_api.h SerialConnection* connection_; SerialConnection 55 chrome/browser/extensions/api/serial/serial_apitest.cc class FakeEchoSerialConnection : public SerialConnection { SerialConnection 60 chrome/browser/extensions/api/serial/serial_apitest.cc : SerialConnection(port, owner_extension_id), SerialConnection 129 chrome/browser/extensions/api/serial/serial_apitest.cc virtual SerialConnection* CreateSerialConnection( SerialConnection 23 chrome/browser/extensions/api/serial/serial_connection.cc BrowserContextKeyedAPIFactory<ApiResourceManager<SerialConnection> > > SerialConnection 28 chrome/browser/extensions/api/serial/serial_connection.cc BrowserContextKeyedAPIFactory<ApiResourceManager<SerialConnection> >* SerialConnection 29 chrome/browser/extensions/api/serial/serial_connection.cc ApiResourceManager<SerialConnection>::GetFactoryInstance() { SerialConnection 33 chrome/browser/extensions/api/serial/serial_connection.cc SerialConnection::SerialConnection(const std::string& port, SerialConnection 46 chrome/browser/extensions/api/serial/serial_connection.cc SerialConnection::~SerialConnection() { SerialConnection 53 chrome/browser/extensions/api/serial/serial_connection.cc bool SerialConnection::IsPersistent() const { return persistent(); } SerialConnection 55 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::set_buffer_size(int buffer_size) { SerialConnection 59 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::set_receive_timeout(int receive_timeout) { SerialConnection 63 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::set_send_timeout(int send_timeout) { SerialConnection 67 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::set_paused(bool paused) { SerialConnection 74 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::Open(const OpenCompleteCallback& callback) { SerialConnection 81 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::StartOpen, base::Unretained(this))); SerialConnection 84 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::Close() { SerialConnection 91 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::DoClose, Passed(file_.Pass()))); SerialConnection 95 chrome/browser/extensions/api/serial/serial_connection.cc bool SerialConnection::Receive(const ReceiveCompleteCallback& callback) { SerialConnection 104 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::OnReceiveTimeout, AsWeakPtr()), SerialConnection 110 chrome/browser/extensions/api/serial/serial_connection.cc bool SerialConnection::Send(const std::string& data, SerialConnection 120 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::OnSendTimeout, AsWeakPtr()), SerialConnection 126 chrome/browser/extensions/api/serial/serial_connection.cc bool SerialConnection::Configure( SerialConnection 144 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::SetIoHandlerForTest( SerialConnection 149 chrome/browser/extensions/api/serial/serial_connection.cc bool SerialConnection::GetInfo(api::serial::ConnectionInfo* info) const { SerialConnection 160 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::StartOpen() { SerialConnection 178 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::FinishOpen, base::Unretained(this), SerialConnection 182 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::FinishOpen(base::File file) { SerialConnection 199 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::OnAsyncReadComplete, AsWeakPtr()), SerialConnection 200 chrome/browser/extensions/api/serial/serial_connection.cc base::Bind(&SerialConnection::OnAsyncWriteComplete, AsWeakPtr())); SerialConnection 211 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::DoClose(base::File port) { SerialConnection 216 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::OnReceiveTimeout() { SerialConnection 221 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::OnSendTimeout() { SerialConnection 226 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::OnAsyncReadComplete(const std::string& data, SerialConnection 236 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::OnAsyncWriteComplete(int bytes_sent, SerialConnection 246 chrome/browser/extensions/api/serial/serial_connection.cc SerialConnection::TimeoutTask::TimeoutTask(const base::Closure& closure, SerialConnection 255 chrome/browser/extensions/api/serial/serial_connection.cc SerialConnection::TimeoutTask::~TimeoutTask() {} SerialConnection 257 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::TimeoutTask::Run() const { closure_.Run(); } SerialConnection 33 chrome/browser/extensions/api/serial/serial_connection.h class SerialConnection : public ApiResource, SerialConnection 34 chrome/browser/extensions/api/serial/serial_connection.h public base::SupportsWeakPtr<SerialConnection> { SerialConnection 51 chrome/browser/extensions/api/serial/serial_connection.h SerialConnection(const std::string& port, SerialConnection 53 chrome/browser/extensions/api/serial/serial_connection.h virtual ~SerialConnection(); SerialConnection 144 chrome/browser/extensions/api/serial/serial_connection.h friend class ApiResourceManager<SerialConnection>; SerialConnection 116 chrome/browser/extensions/api/serial/serial_connection_posix.cc bool SerialConnection::ConfigurePort( SerialConnection 183 chrome/browser/extensions/api/serial/serial_connection_posix.cc bool SerialConnection::PostOpen() { SerialConnection 200 chrome/browser/extensions/api/serial/serial_connection_posix.cc bool SerialConnection::Flush() const { SerialConnection 204 chrome/browser/extensions/api/serial/serial_connection_posix.cc bool SerialConnection::GetControlSignals( SerialConnection 218 chrome/browser/extensions/api/serial/serial_connection_posix.cc bool SerialConnection::SetControlSignals( SerialConnection 245 chrome/browser/extensions/api/serial/serial_connection_posix.cc bool SerialConnection::GetPortInfo(api::serial::ConnectionInfo* info) const { SerialConnection 279 chrome/browser/extensions/api/serial/serial_connection_posix.cc std::string SerialConnection::MaybeFixUpPortName( SerialConnection 133 chrome/browser/extensions/api/serial/serial_connection_win.cc bool SerialConnection::ConfigurePort( SerialConnection 160 chrome/browser/extensions/api/serial/serial_connection_win.cc bool SerialConnection::PostOpen() { SerialConnection 190 chrome/browser/extensions/api/serial/serial_connection_win.cc bool SerialConnection::Flush() const { SerialConnection 194 chrome/browser/extensions/api/serial/serial_connection_win.cc bool SerialConnection::GetControlSignals( SerialConnection 207 chrome/browser/extensions/api/serial/serial_connection_win.cc bool SerialConnection::SetControlSignals( SerialConnection 224 chrome/browser/extensions/api/serial/serial_connection_win.cc bool SerialConnection::GetPortInfo(api::serial::ConnectionInfo* info) const { SerialConnection 238 chrome/browser/extensions/api/serial/serial_connection_win.cc std::string SerialConnection::MaybeFixUpPortName( SerialConnection 44 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc : thread_id_(SerialConnection::kThreadId), SerialConnection 46 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc ApiResourceManager<SerialConnection>* manager = SerialConnection 47 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc ApiResourceManager<SerialConnection>::Get(profile_); SerialConnection 76 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc SerialConnection* connection = SerialConnection 116 chrome/browser/extensions/api/serial/serial_event_dispatcher.cc SerialConnection* connection = SerialConnection 16 chrome/browser/extensions/api/serial/serial_event_dispatcher.h class SerialConnection; SerialConnection 36 chrome/browser/extensions/api/serial/serial_event_dispatcher.h typedef ApiResourceManager<SerialConnection>::ApiResourceData ConnectionData; SerialConnection 84 chrome/browser/extensions/browser_context_keyed_service_factories.cc extensions::SerialConnection>::GetFactoryInstance();