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

Unified Diff: chrome/browser/history/page_usage_data.h

Issue 10673005: Removes unused thumbnail and favicon fields from PageUsageData. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/history/page_usage_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/page_usage_data.h
diff --git a/chrome/browser/history/page_usage_data.h b/chrome/browser/history/page_usage_data.h
index 8ee4191c6c9a431c13ec94f911585a2af8077e76..bf67e22b26eca2f7e29637df19d0149b886a938a 100644
--- a/chrome/browser/history/page_usage_data.h
+++ b/chrome/browser/history/page_usage_data.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -57,50 +57,6 @@ class PageUsageData {
return score_;
}
- void SetThumbnailMissing() {
- thumbnail_set_ = true;
- }
-
- void SetThumbnail(SkBitmap* img);
-
- bool HasThumbnail() const {
- return thumbnail_set_;
- }
-
- const SkBitmap* GetThumbnail() const {
- return thumbnail_;
- }
-
- bool thumbnail_pending() const {
- return thumbnail_pending_;
- }
-
- void set_thumbnail_pending(bool pending) {
- thumbnail_pending_ = pending;
- }
-
- void SetFaviconMissing() {
- favicon_set_ = true;
- }
-
- void SetFavicon(SkBitmap* img);
-
- bool HasFavicon() const {
- return favicon_set_;
- }
-
- bool favicon_pending() const {
- return favicon_pending_;
- }
-
- void set_favicon_pending(bool pending) {
- favicon_pending_ = pending;
- }
-
- const SkBitmap* GetFavicon() const {
- return favicon_;
- }
-
// Sort predicate to sort instances by score (high to low)
static bool Predicate(const PageUsageData* dud1,
const PageUsageData* dud2);
@@ -110,16 +66,6 @@ class PageUsageData {
GURL url_;
string16 title_;
- SkBitmap* thumbnail_;
- bool thumbnail_set_;
- // Whether we have an outstanding request for the thumbnail.
- bool thumbnail_pending_;
-
- SkBitmap* favicon_;
- bool favicon_set_;
- // Whether we have an outstanding request for the favicon.
- bool favicon_pending_;
-
double score_;
};
« no previous file with comments | « no previous file | chrome/browser/history/page_usage_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698