Lines Matching refs:url
25 "url LONGVARCHAR,"
28 "image BLOB, UNIQUE (url, width, height))")) {
39 "url LONGVARCHAR UNIQUE,"
44 if (!db_->Execute("CREATE INDEX web_apps_url_index ON web_apps (url)")) {
52 bool WebAppsTable::SetWebAppImage(const GURL& url, const SkBitmap& image) {
57 "(url, width, height, image) VALUES (?, ?, ?, ?)"));
64 s.BindString(0, history::HistoryDatabase::GURLToDatabaseURL(url));
71 bool WebAppsTable::GetWebAppImages(const GURL& url,
74 "SELECT image FROM web_app_icons WHERE url=?"));
79 s.BindString(0, history::HistoryDatabase::GURLToDatabaseURL(url));
97 bool WebAppsTable::SetWebAppHasAllImages(const GURL& url,
100 "INSERT OR REPLACE INTO web_apps (url, has_all_images) VALUES (?, ?)"));
105 s.BindString(0, history::HistoryDatabase::GURLToDatabaseURL(url));
110 bool WebAppsTable::GetWebAppHasAllImages(const GURL& url) {
112 "SELECT has_all_images FROM web_apps WHERE url=?"));
117 s.BindString(0, history::HistoryDatabase::GURLToDatabaseURL(url));
121 bool WebAppsTable::RemoveWebApp(const GURL& url) {
123 "DELETE FROM web_app_icons WHERE url = ?"));
128 delete_s.BindString(0, history::HistoryDatabase::GURLToDatabaseURL(url));
133 "DELETE FROM web_apps WHERE url = ?"));
138 delete_s2.BindString(0, history::HistoryDatabase::GURLToDatabaseURL(url));