| 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_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
| 6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 int icon_types); | 250 int icon_types); |
| 251 | 251 |
| 252 void GetFaviconForURL(scoped_refptr<GetFaviconRequest> request, | 252 void GetFaviconForURL(scoped_refptr<GetFaviconRequest> request, |
| 253 const GURL& page_url, | 253 const GURL& page_url, |
| 254 int icon_types); | 254 int icon_types); |
| 255 | 255 |
| 256 void GetFaviconForID(scoped_refptr<GetFaviconRequest> request, FaviconID id); | 256 void GetFaviconForID(scoped_refptr<GetFaviconRequest> request, FaviconID id); |
| 257 | 257 |
| 258 void SetFavicon(const GURL& page_url, | 258 void SetFavicon(const GURL& page_url, |
| 259 const GURL& icon_url, | 259 const GURL& icon_url, |
| 260 scoped_refptr<RefCountedMemory> data, | 260 scoped_refptr<base::RefCountedMemory> data, |
| 261 IconType icon_type); | 261 IconType icon_type); |
| 262 | 262 |
| 263 void UpdateFaviconMappingAndFetch(scoped_refptr<GetFaviconRequest> request, | 263 void UpdateFaviconMappingAndFetch(scoped_refptr<GetFaviconRequest> request, |
| 264 const GURL& page_url, | 264 const GURL& page_url, |
| 265 const GURL& icon_url, | 265 const GURL& icon_url, |
| 266 IconType icon_type); | 266 IconType icon_type); |
| 267 | 267 |
| 268 void SetFaviconOutOfDateForPage(const GURL& page_url); | 268 void SetFaviconOutOfDateForPage(const GURL& page_url); |
| 269 | 269 |
| 270 void CloneFavicon(const GURL& old_page_url, const GURL& new_page_url); | 270 void CloneFavicon(const GURL& old_page_url, const GURL& new_page_url); |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 684 // Publishes the history to all indexers which are registered to receive | 684 // Publishes the history to all indexers which are registered to receive |
| 685 // history data from us. Can be NULL if there are no listeners. | 685 // history data from us. Can be NULL if there are no listeners. |
| 686 scoped_ptr<HistoryPublisher> history_publisher_; | 686 scoped_ptr<HistoryPublisher> history_publisher_; |
| 687 | 687 |
| 688 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); | 688 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); |
| 689 }; | 689 }; |
| 690 | 690 |
| 691 } // namespace history | 691 } // namespace history |
| 692 | 692 |
| 693 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 693 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
| OLD | NEW |