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

Unified Diff: components/history/core/common/thumbnail_score.h

Issue 304273010: Move thumbnail to history component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing to ToT and formatting code Created 6 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 | « components/history.gypi ('k') | components/history/core/common/thumbnail_score.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/common/thumbnail_score.h
diff --git a/chrome/common/thumbnail_score.h b/components/history/core/common/thumbnail_score.h
similarity index 94%
rename from chrome/common/thumbnail_score.h
rename to components/history/core/common/thumbnail_score.h
index 486a4bcc694dd86d2ef711090c503a11789c072a..dc873fb2e48aa61f7706a0635f0220d202cc6e2a 100644
--- a/chrome/common/thumbnail_score.h
+++ b/components/history/core/common/thumbnail_score.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_COMMON_THUMBNAIL_SCORE_H_
-#define CHROME_COMMON_THUMBNAIL_SCORE_H_
+#ifndef COMPONENTS_HISTORY_CORE_COMMON_THUMBNAIL_SCORE_H_
+#define COMPONENTS_HISTORY_CORE_COMMON_THUMBNAIL_SCORE_H_
#include <string>
#include "base/time/time.h"
@@ -20,8 +20,7 @@ struct ThumbnailScore {
ThumbnailScore(double score, bool clipping, bool top);
// Builds a ThumbnailScore with the passed in values.
- ThumbnailScore(double score, bool clipping, bool top,
- const base::Time& time);
+ ThumbnailScore(double score, bool clipping, bool top, const base::Time& time);
~ThumbnailScore();
// Tests for equivalence between two ThumbnailScore objects.
@@ -109,4 +108,4 @@ struct ThumbnailScore {
bool ShouldReplaceThumbnailWith(const ThumbnailScore& current,
const ThumbnailScore& replacement);
-#endif // CHROME_COMMON_THUMBNAIL_SCORE_H_
+#endif // COMPONENTS_HISTORY_CORE_COMMON_THUMBNAIL_SCORE_H_
« no previous file with comments | « components/history.gypi ('k') | components/history/core/common/thumbnail_score.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698