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

Unified Diff: components/history/core/browser/page_usage_data.cc

Issue 896093004: Cleanup usage of history namespace in components/history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
Index: components/history/core/browser/page_usage_data.cc
diff --git a/components/history/core/browser/page_usage_data.cc b/components/history/core/browser/page_usage_data.cc
index e240ff96bec1aba3c43c82e5db87cccbf5672173..73ba3d4c7df62fb0e8f77b5fac0d56cad8480b0e 100644
--- a/components/history/core/browser/page_usage_data.cc
+++ b/components/history/core/browser/page_usage_data.cc
@@ -6,9 +6,9 @@
#include <algorithm>
-PageUsageData::PageUsageData(history::SegmentID id)
- : id_(id),
- score_(0.0) {
+namespace history {
+
+PageUsageData::PageUsageData(SegmentID id) : id_(id), score_(0.0) {
}
PageUsageData::~PageUsageData() {
@@ -19,3 +19,5 @@ bool PageUsageData::Predicate(const PageUsageData* lhs,
const PageUsageData* rhs) {
return lhs->GetScore() > rhs->GetScore();
}
+
+} // namespace history
« no previous file with comments | « components/history/core/browser/page_usage_data.h ('k') | components/history/core/browser/thumbnail_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698