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

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

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.h
diff --git a/components/history/core/browser/page_usage_data.h b/components/history/core/browser/page_usage_data.h
index 284b19658c94b205d25ebbeb10eb710f7f79410b..3a8fcc1627b5f0d8992ce9a5116fd63f83470418 100644
--- a/components/history/core/browser/page_usage_data.h
+++ b/components/history/core/browser/page_usage_data.h
@@ -11,6 +11,8 @@
class SkBitmap;
+namespace history {
+
/////////////////////////////////////////////////////////////////////////////
//
// PageUsageData
@@ -18,19 +20,17 @@ class SkBitmap;
// A per domain usage data structure to compute and manage most visited
// pages.
//
-// See History::QueryPageUsageSince()
+// See QueryPageUsageSince()
//
/////////////////////////////////////////////////////////////////////////////
class PageUsageData {
public:
- explicit PageUsageData(history::SegmentID id);
+ explicit PageUsageData(SegmentID id);
virtual ~PageUsageData();
// Return the url ID
- history::SegmentID GetID() const {
- return id_;
- }
+ SegmentID GetID() const { return id_; }
void SetURL(const GURL& url) {
url_ = url;
@@ -60,11 +60,13 @@ class PageUsageData {
static bool Predicate(const PageUsageData* dud1, const PageUsageData* dud2);
private:
- history::SegmentID id_;
+ SegmentID id_;
GURL url_;
base::string16 title_;
double score_;
};
+} // namespace history
+
#endif // COMPONENTS_HISTORY_CORE_BROWSER_PAGE_USAGE_DATA_H__

Powered by Google App Engine
This is Rietveld 408576698