Lines Matching full:state
25 net::TransportSecurityState* state, const FilePath& profile_path) {
27 transport_security_state_ = state;
30 state->SetDelegate(this);
40 std::string state;
41 if (!file_util::ReadFileToString(state_file_, &state))
47 state));
50 void TransportSecurityPersister::CompleteLoad(const std::string& state) {
54 if (!transport_security_state_->LoadEntries(state, &dirty)) {
55 LOG(ERROR) << "Failed to deserialize state: " << state;
63 net::TransportSecurityState* state) {
65 DCHECK(state == transport_security_state_);
81 std::string state;
82 if (!transport_security_state_->Serialise(&state))
88 state));
91 void TransportSecurityPersister::CompleteSave(const std::string& state) {
95 file_util::WriteFile(state_file_, state.data(), state.size());