Lines Matching refs:url
57 // Sets the given thumbnail for the given URL. Returns true if the thumbnail
58 // was updated. False means either the URL wasn't known to us, or we felt
60 bool SetPageThumbnail(const GURL& url,
79 bool GetPageThumbnail(const GURL& url,
85 virtual bool GetPageThumbnailScore(const GURL& url, ThumbnailScore* score);
90 bool GetTemporaryPageThumbnailScore(const GURL& url, ThumbnailScore* score);
108 // Add a URL to the blacklist.
109 void AddBlacklistedURL(const GURL& url);
111 // Removes a URL from the blacklist.
112 void RemoveBlacklistedURL(const GURL& url);
114 // Returns true if the URL is blacklisted.
115 bool IsBlacklisted(const GURL& url);
122 // Pin a URL at |index|.
123 void AddPinnedURL(const GURL& url, size_t index);
125 // Returns true if a URL is pinned.
126 bool IsURLPinned(const GURL& url);
128 // Unpin a URL.
129 void RemovePinnedURL(const GURL& url);
131 // Return a URL pinned at |index| via |out|. Returns true if there
132 // is a URL pinned at |index|.
157 // Returns true if the given URL is known to the top sites service.
159 virtual bool IsKnownURL(const GURL& url);
206 bool SetPageThumbnailNoDB(const GURL& url,
212 bool SetPageThumbnailEncoded(const GURL& url,
221 // Removes the cached thumbnail for url. Does nothing if |url| if not cached
223 void RemoveTemporaryThumbnailByURL(const GURL& url);
225 // Add a thumbnail for an unknown url. See temp_thumbnails_map_.
226 void AddTemporaryThumbnail(const GURL& url,
233 // Finds the given URL in the redirect chain for the given TopSite, and
234 // returns the distance from the destination in hops that the given URL is.
235 // The URL is assumed to be in the list. The destination is 0.
237 const GURL& url);
255 // Converts a url into a canonical string representation.
256 std::string GetURLString(const GURL& url);
258 // Returns an MD5 hash of the URL. Hashing is required for blacklisted URLs.
259 std::string GetURLHash(const GURL& url);
343 // called, if we don't know about that URL yet and we don't have
353 // key is the URL, value is a dummy value. This is owned by the
358 // the new tab page. Key is the URL, value is index where it is pinned at (may