Lines Matching defs:VisitedLinkMaster
37 const int32 VisitedLinkMaster::kFileHeaderSignatureOffset = 0;
38 const int32 VisitedLinkMaster::kFileHeaderVersionOffset = 4;
39 const int32 VisitedLinkMaster::kFileHeaderLengthOffset = 8;
40 const int32 VisitedLinkMaster::kFileHeaderUsedOffset = 12;
41 const int32 VisitedLinkMaster::kFileHeaderSaltOffset = 16;
43 const int32 VisitedLinkMaster::kFileCurrentVersion = 3;
46 const int32 VisitedLinkMaster::kFileSignature = 0x6b6e4c56;
47 const size_t VisitedLinkMaster::kFileHeaderSize =
52 const unsigned VisitedLinkMaster::kDefaultTableSize = 16381;
54 const size_t VisitedLinkMaster::kBigDeleteThreshold = 64;
126 // member in VisitedLinkMaster to the TableBuilder we create. This builder
131 // back to the main thread where the VisitedLinkMaster will be notified. The
139 class VisitedLinkMaster::TableBuilder
142 TableBuilder(VisitedLinkMaster* master,
163 VisitedLinkMaster* master_;
177 // VisitedLinkMaster ----------------------------------------------------------
179 VisitedLinkMaster::VisitedLinkMaster(content::BrowserContext* browser_context,
189 VisitedLinkMaster::VisitedLinkMaster(Listener* listener,
207 VisitedLinkMaster::~VisitedLinkMaster() {
220 void VisitedLinkMaster::InitMembers() {
234 bool VisitedLinkMaster::Init() {
247 VisitedLinkMaster::Hash VisitedLinkMaster::TryToAddURL(const GURL& url) {
284 void VisitedLinkMaster::PostIOTask(const tracked_objects::Location& from_here,
291 void VisitedLinkMaster::AddURL(const GURL& url) {
303 void VisitedLinkMaster::AddURLs(const std::vector<GURL>& url) {
316 void VisitedLinkMaster::DeleteAllURLs() {
333 VisitedLinkDelegate* VisitedLinkMaster::GetDelegate() {
337 void VisitedLinkMaster::DeleteURLs(URLIterator* urls) {
382 VisitedLinkMaster::Hash VisitedLinkMaster::AddFingerprint(
419 void VisitedLinkMaster::DeleteFingerprintsFromCurrentTable(
437 bool VisitedLinkMaster::DeleteFingerprint(Fingerprint fingerprint,
498 void VisitedLinkMaster::WriteFullTable() {
537 bool VisitedLinkMaster::InitFromFile() {
570 bool VisitedLinkMaster::InitFromScratch(bool suppress_rebuild) {
600 bool VisitedLinkMaster::ReadFileHeader(FILE* file,
652 bool VisitedLinkMaster::GetDatabaseFileName(base::FilePath* filename) {
669 bool VisitedLinkMaster::CreateURLTable(int32 num_entries, bool init_to_empty) {
706 bool VisitedLinkMaster::BeginReplaceURLTable(int32 num_entries) {
725 void VisitedLinkMaster::FreeURLTable() {
737 bool VisitedLinkMaster::ResizeTableIfNecessary() {
761 void VisitedLinkMaster::ResizeTable(int32 new_size) {
800 uint32 VisitedLinkMaster::NewTableSizeForCount(int32 item_count) const {
833 bool VisitedLinkMaster::RebuildTableFromDelegate() {
843 void VisitedLinkMaster::OnTableRebuildComplete(
891 void VisitedLinkMaster::WriteToFile(FILE** file,
904 void VisitedLinkMaster::WriteUsedItemCountToFile() {
911 void VisitedLinkMaster::WriteHashRangeToFile(Hash first_hash, Hash last_hash) {
933 bool VisitedLinkMaster::ReadFromFile(FILE* file,
953 VisitedLinkMaster::TableBuilder::TableBuilder(
954 VisitedLinkMaster* master,
964 void VisitedLinkMaster::TableBuilder::DisownMaster() {
968 void VisitedLinkMaster::TableBuilder::OnURL(const GURL& url) {
970 fingerprints_.push_back(VisitedLinkMaster::ComputeURLFingerprint(
975 void VisitedLinkMaster::TableBuilder::OnComplete(bool success) {
979 // Marshal to the main thread to notify the VisitedLinkMaster that the
986 void VisitedLinkMaster::TableBuilder::OnCompleteMainThread() {