Home
last modified time | relevance | path

Searched refs:WriteResult (Results 1 – 25 of 68) sorted by relevance

123

/external/chromium_org/extensions/browser/value_store/
Dvalue_store.h131 typedef scoped_ptr<WriteResultType> WriteResult; typedef
155 static WriteResult MakeWriteResult(scoped_ptr<T> arg) { in MakeWriteResult()
156 return WriteResult(new WriteResultType(arg.Pass())); in MakeWriteResult()
182 virtual WriteResult Set(WriteOptions options,
187 virtual WriteResult Set(
191 virtual WriteResult Remove(const std::string& key) = 0;
194 virtual WriteResult Remove(const std::vector<std::string>& keys) = 0;
197 virtual WriteResult Clear() = 0;
Dtesting_value_store.h37 virtual WriteResult Set(
41 virtual WriteResult Set(
43 virtual WriteResult Remove(const std::string& key) OVERRIDE;
44 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
45 virtual WriteResult Clear() OVERRIDE;
Dleveldb_value_store.h39 virtual WriteResult Set(
43 virtual WriteResult Set(
45 virtual WriteResult Remove(const std::string& key) OVERRIDE;
46 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
47 virtual WriteResult Clear() OVERRIDE;
Dtesting_value_store.cc67 ValueStore::WriteResult TestingValueStore::Set( in Set()
74 ValueStore::WriteResult TestingValueStore::Set( in Set()
97 ValueStore::WriteResult TestingValueStore::Remove(const std::string& key) { in Remove()
101 ValueStore::WriteResult TestingValueStore::Remove( in Remove()
118 ValueStore::WriteResult TestingValueStore::Clear() { in Clear()
/external/chromium_org/net/quic/
Dquic_types.cc23 WriteResult::WriteResult() in WriteResult() function in net::WriteResult
28 WriteResult::WriteResult(WriteStatus status, in WriteResult() function in net::WriteResult
Dquic_server_packet_writer.cc29 WriteResult QuicServerPacketWriter::WritePacketWithCallback( in WritePacketWithCallback()
37 WriteResult result = WritePacket(buffer, buf_len, self_address, peer_address); in WritePacketWithCallback()
47 WriteResult result(rv < 0 ? WRITE_STATUS_ERROR : WRITE_STATUS_OK, rv); in OnWriteComplete()
65 WriteResult QuicServerPacketWriter::WritePacket( in WritePacket()
94 return WriteResult(status, rv); in WritePacket()
Dquic_server_packet_writer.h19 struct WriteResult;
25 typedef base::Callback<void(WriteResult)> WriteCallback;
34 virtual WriteResult WritePacketWithCallback(
50 virtual WriteResult WritePacket(const char* buffer,
Dquic_types.h56 struct NET_EXPORT_PRIVATE WriteResult { struct
57 WriteResult(WriteStatus status, int bytes_written_or_error_code);
58 WriteResult();
Dquic_packet_writer.h13 struct WriteResult;
26 virtual WriteResult WritePacket(
Dquic_per_connection_packet_writer.h32 virtual WriteResult WritePacket(const char* buffer,
41 void OnWriteComplete(WriteResult result);
Dquic_default_packet_writer.h18 struct WriteResult;
29 virtual WriteResult WritePacket(const char* buffer,
Dquic_per_connection_packet_writer.cc26 WriteResult QuicPerConnectionPacketWriter::WritePacket( in WritePacket()
52 void QuicPerConnectionPacketWriter::OnWriteComplete(WriteResult result) { in OnWriteComplete()
/external/chromium_org/extensions/browser/api/storage/
Dweak_unlimited_settings_storage.h30 virtual WriteResult Set(
34 virtual WriteResult Set(
36 virtual WriteResult Remove(const std::string& key) OVERRIDE;
37 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
38 virtual WriteResult Clear() OVERRIDE;
Dsettings_storage_quota_enforcer.h40 virtual WriteResult Set(
44 virtual WriteResult Set(
46 virtual WriteResult Remove(const std::string& key) OVERRIDE;
47 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
48 virtual WriteResult Clear() OVERRIDE;
Dweak_unlimited_settings_storage.cc43 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Set( in Set()
48 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Set( in Set()
53 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Remove( in Remove()
58 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Remove( in Remove()
63 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Clear() { in Clear()
Dsettings_storage_quota_enforcer.cc132 ValueStore::WriteResult SettingsStorageQuotaEnforcer::Set( in Set()
151 WriteResult result = delegate_->Set(options, key, value); in Set()
161 ValueStore::WriteResult SettingsStorageQuotaEnforcer::Set( in Set()
183 WriteResult result = delegate_->Set(options, values); in Set()
193 ValueStore::WriteResult SettingsStorageQuotaEnforcer::Remove( in Remove()
195 WriteResult result = delegate_->Remove(key); in Remove()
203 ValueStore::WriteResult SettingsStorageQuotaEnforcer::Remove( in Remove()
205 WriteResult result = delegate_->Remove(keys); in Remove()
217 ValueStore::WriteResult SettingsStorageQuotaEnforcer::Clear() { in Clear()
218 WriteResult result = delegate_->Clear(); in Clear()
/external/chromium_org/chrome/browser/extensions/api/storage/
Dsyncable_settings_storage.h43 virtual WriteResult Set(
47 virtual WriteResult Set(
49 virtual WriteResult Remove(const std::string& key) OVERRIDE;
50 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
51 virtual WriteResult Clear() OVERRIDE;
72 void SyncResultIfEnabled(const ValueStore::WriteResult& result);
Dpolicy_value_store.h49 virtual WriteResult Set(
53 virtual WriteResult Set(
55 virtual WriteResult Remove(const std::string& key) OVERRIDE;
56 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE;
57 virtual WriteResult Clear() OVERRIDE;
Dsyncable_settings_storage.cc71 ValueStore::WriteResult SyncableSettingsStorage::Set( in Set()
74 WriteResult result = delegate_->Set(options, key, value); in Set()
82 ValueStore::WriteResult SyncableSettingsStorage::Set( in Set()
85 WriteResult result = delegate_->Set(options, values); in Set()
93 ValueStore::WriteResult SyncableSettingsStorage::Remove( in Remove()
96 WriteResult result = delegate_->Remove(key); in Remove()
104 ValueStore::WriteResult SyncableSettingsStorage::Remove( in Remove()
107 WriteResult result = delegate_->Remove(keys); in Remove()
115 ValueStore::WriteResult SyncableSettingsStorage::Clear() { in Clear()
117 WriteResult result = delegate_->Clear(); in Clear()
[all …]
Dpolicy_value_store.cc92 WriteResult result = delegate_->Remove(removed_keys); in SetCurrentPolicy()
152 ValueStore::WriteResult PolicyValueStore::Set( in Set()
157 ValueStore::WriteResult PolicyValueStore::Set( in Set()
162 ValueStore::WriteResult PolicyValueStore::Remove(const std::string& key) { in Remove()
166 ValueStore::WriteResult PolicyValueStore::Remove( in Remove()
171 ValueStore::WriteResult PolicyValueStore::Clear() { in Clear()
Dpolicy_value_store_unittest.cc50 virtual WriteResult Set( in Set()
57 virtual WriteResult Set( in Set()
62 virtual WriteResult Remove(const std::string& key) OVERRIDE { in Remove()
66 virtual WriteResult Remove(const std::vector<std::string>& keys) OVERRIDE { in Remove()
70 virtual WriteResult Clear() OVERRIDE { in Clear()
/external/chromium_org/net/tools/quic/test_tools/
Dpacket_dropping_test_writer.cc76 WriteResult PacketDroppingTestWriter::WritePacket( in WritePacket()
88 return WriteResult(WRITE_STATUS_OK, buf_len); in WritePacket()
99 return WriteResult(WRITE_STATUS_BLOCKED, EAGAIN); in WritePacket()
106 return WriteResult(WRITE_STATUS_OK, buf_len); in WritePacket()
129 return WriteResult(WRITE_STATUS_OK, buf_len); in WritePacket()
/external/chromium_org/net/tools/quic/
Dquic_time_wait_list_manager_test.cc235 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, 1))); in TEST_F()
248 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, 0))); in TEST_F()
258 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, 1))); in TEST_F()
327 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, packet->length()))); in TEST_F()
338 Return(WriteResult(WRITE_STATUS_BLOCKED, EAGAIN)))); in TEST_F()
364 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, packet->length()))); in TEST_F()
370 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, in TEST_F()
412 .WillOnce(Return(WriteResult(WRITE_STATUS_OK, 1))); in TEST_F()
Dquic_default_packet_writer.cc18 WriteResult QuicDefaultPacketWriter::WritePacket( in WritePacket()
24 WriteResult result = QuicSocketUtils::WritePacket( in WritePacket()
Dquic_default_packet_writer.h14 struct WriteResult;
25 virtual WriteResult WritePacket(const char* buffer,

123