• Home
  • Raw
  • Download

Lines Matching refs:backup_

651     backup_.reset();  in SetTrackChanges()
668 if (!backup_) in RevertChanges()
672 if (backup_->backups_ & kChangedUrl) in RevertChanges()
673 url_ = backup_->url_; in RevertChanges()
674 if (backup_->backups_ & kChangedMethod) in RevertChanges()
675 method_ = backup_->method_; in RevertChanges()
676 if (backup_->backups_ & kChangedReferrer) { in RevertChanges()
677 referrer_url_ = backup_->referrer_url_; in RevertChanges()
678 referrer_policy_ = backup_->referrer_policy_; in RevertChanges()
680 if (backup_->backups_ & kChangedPostData) in RevertChanges()
681 postdata_ = backup_->postdata_; in RevertChanges()
682 if (backup_->backups_ & kChangedHeaderMap) { in RevertChanges()
683 DCHECK(backup_->headermap_); in RevertChanges()
684 headermap_.swap(*backup_->headermap_); in RevertChanges()
686 if (backup_->backups_ & kChangedFlags) in RevertChanges()
687 flags_ = backup_->flags_; in RevertChanges()
688 if (backup_->backups_ & kChangedSiteForCookies) in RevertChanges()
689 site_for_cookies_ = backup_->site_for_cookies_; in RevertChanges()
691 backup_.reset(); in RevertChanges()
698 backup_.reset(); in DiscardChanges()
772 if (!backup_) in Changed()
773 backup_.reset(new Backup()); in Changed()
776 if ((changes & kChangedUrl) && !(backup_->backups_ & kChangedUrl)) { in Changed()
777 backup_->url_ = url_; in Changed()
778 backup_->backups_ |= kChangedUrl; in Changed()
780 if ((changes & kChangedMethod) && !(backup_->backups_ & kChangedMethod)) { in Changed()
781 backup_->method_ = method_; in Changed()
782 backup_->backups_ |= kChangedMethod; in Changed()
785 !(backup_->backups_ & kChangedReferrer)) { in Changed()
786 backup_->referrer_url_ = referrer_url_; in Changed()
787 backup_->referrer_policy_ = referrer_policy_; in Changed()
788 backup_->backups_ |= kChangedReferrer; in Changed()
791 !(backup_->backups_ & kChangedPostData)) { in Changed()
792 backup_->postdata_ = postdata_; in Changed()
793 backup_->backups_ |= kChangedPostData; in Changed()
796 !(backup_->backups_ & kChangedHeaderMap)) { in Changed()
797 backup_->headermap_.reset(new HeaderMap()); in Changed()
799 backup_->headermap_->insert(headermap_.begin(), headermap_.end()); in Changed()
801 backup_->backups_ |= kChangedHeaderMap; in Changed()
803 if ((changes & kChangedFlags) && !(backup_->backups_ & kChangedFlags)) { in Changed()
804 backup_->flags_ = flags_; in Changed()
805 backup_->backups_ |= kChangedFlags; in Changed()
808 !(backup_->backups_ & kChangedSiteForCookies)) { in Changed()
809 backup_->site_for_cookies_ = site_for_cookies_; in Changed()
810 backup_->backups_ |= kChangedSiteForCookies; in Changed()