Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(770)

Side by Side Diff: components/history/core/browser/history_backend.h

Issue 2796343003: Remove preferences among favicon types when choosing large icons
Patch Set: Rebased. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_
6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 // Favicon ------------------------------------------------------------------- 286 // Favicon -------------------------------------------------------------------
287 287
288 void GetFavicons( 288 void GetFavicons(
289 const std::vector<GURL>& icon_urls, 289 const std::vector<GURL>& icon_urls,
290 int icon_types, 290 int icon_types,
291 const std::vector<int>& desired_sizes, 291 const std::vector<int>& desired_sizes,
292 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results); 292 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results);
293 293
294 void GetLargestFaviconForURL( 294 void GetLargestFaviconForURL(
295 const GURL& page_url, 295 const GURL& page_url,
296 const std::vector<int>& icon_types,
297 int minimum_size_in_pixels,
298 favicon_base::FaviconRawBitmapResult* bitmap_result); 296 favicon_base::FaviconRawBitmapResult* bitmap_result);
299 297
300 void GetFaviconsForURL( 298 void GetFaviconsForURL(
301 const GURL& page_url, 299 const GURL& page_url,
302 int icon_types, 300 int icon_types,
303 const std::vector<int>& desired_sizes, 301 const std::vector<int>& desired_sizes,
304 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results); 302 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results);
305 303
306 void GetFaviconForID( 304 void GetFaviconForID(
307 favicon_base::FaviconID favicon_id, 305 favicon_base::FaviconID favicon_id,
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 // it unregisters itself as observer during destruction. 918 // it unregisters itself as observer during destruction.
921 std::unique_ptr<TypedUrlSyncableService> typed_url_syncable_service_; 919 std::unique_ptr<TypedUrlSyncableService> typed_url_syncable_service_;
922 std::unique_ptr<TypedURLSyncBridge> typed_url_sync_bridge_; 920 std::unique_ptr<TypedURLSyncBridge> typed_url_sync_bridge_;
923 921
924 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 922 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
925 }; 923 };
926 924
927 } // namespace history 925 } // namespace history
928 926
929 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ 927 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « components/favicon/core/test/mock_favicon_service.h ('k') | components/history/core/browser/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698