| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_H_ |
| 6 #define CHROME_BROWSER_HISTORY_HISTORY_H_ | 6 #define CHROME_BROWSER_HISTORY_HISTORY_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 void UpdateFaviconMappingAndFetch(FaviconService::GetFaviconRequest* request, | 696 void UpdateFaviconMappingAndFetch(FaviconService::GetFaviconRequest* request, |
| 697 const GURL& page_url, | 697 const GURL& page_url, |
| 698 const GURL& icon_url, | 698 const GURL& icon_url, |
| 699 history::IconType icon_type); | 699 history::IconType icon_type); |
| 700 | 700 |
| 701 // Used by the FaviconService to get a favicon from the history backend. | 701 // Used by the FaviconService to get a favicon from the history backend. |
| 702 void GetFaviconForURL(FaviconService::GetFaviconRequest* request, | 702 void GetFaviconForURL(FaviconService::GetFaviconRequest* request, |
| 703 const GURL& page_url, | 703 const GURL& page_url, |
| 704 int icon_types); | 704 int icon_types); |
| 705 | 705 |
| 706 // Used by the FaviconService to get a favicon from the history backend. | |
| 707 void GetFaviconForID(FaviconService::GetFaviconRequest* request, | |
| 708 history::FaviconID id); | |
| 709 | |
| 710 // Used by the FaviconService to mark the favicon for the page as being out | 706 // Used by the FaviconService to mark the favicon for the page as being out |
| 711 // of date. | 707 // of date. |
| 712 void SetFaviconOutOfDateForPage(const GURL& page_url); | 708 void SetFaviconOutOfDateForPage(const GURL& page_url); |
| 713 | 709 |
| 714 // Used by the FaviconService to clone favicons from one page to another, | 710 // Used by the FaviconService to clone favicons from one page to another, |
| 715 // provided that other page does not already have favicons. | 711 // provided that other page does not already have favicons. |
| 716 void CloneFavicon(const GURL& old_page_url, const GURL& new_page_url); | 712 void CloneFavicon(const GURL& old_page_url, const GURL& new_page_url); |
| 717 | 713 |
| 718 // Used by the FaviconService for importing many favicons for many pages at | 714 // Used by the FaviconService for importing many favicons for many pages at |
| 719 // once. The pages must exist, any favicon sets for unknown pages will be | 715 // once. The pages must exist, any favicon sets for unknown pages will be |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 950 // The index used for quick history lookups. | 946 // The index used for quick history lookups. |
| 951 scoped_ptr<history::InMemoryURLIndex> in_memory_url_index_; | 947 scoped_ptr<history::InMemoryURLIndex> in_memory_url_index_; |
| 952 | 948 |
| 953 scoped_refptr<ObserverListThreadSafe<history::VisitDatabaseObserver> > | 949 scoped_refptr<ObserverListThreadSafe<history::VisitDatabaseObserver> > |
| 954 visit_database_observers_; | 950 visit_database_observers_; |
| 955 | 951 |
| 956 DISALLOW_COPY_AND_ASSIGN(HistoryService); | 952 DISALLOW_COPY_AND_ASSIGN(HistoryService); |
| 957 }; | 953 }; |
| 958 | 954 |
| 959 #endif // CHROME_BROWSER_HISTORY_HISTORY_H_ | 955 #endif // CHROME_BROWSER_HISTORY_HISTORY_H_ |
| OLD | NEW |