summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history.h
diff options
context:
space:
mode:
authormeelapshah@chromium.org <meelapshah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 21:50:33 +0000
committermeelapshah@chromium.org <meelapshah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 21:50:33 +0000
commit379c2b1a13d25f8457e0d602cab20e42961825bd (patch)
tree268a4574a8f2a7cc6da3cea7dc11a7fc1877d735 /chrome/browser/history/history.h
parenta0ac629c9409d6b268f51fea12a4b284870e7095 (diff)
downloadchromium_src-379c2b1a13d25f8457e0d602cab20e42961825bd.zip
chromium_src-379c2b1a13d25f8457e0d602cab20e42961825bd.tar.gz
chromium_src-379c2b1a13d25f8457e0d602cab20e42961825bd.tar.bz2
Moved typedef of RedirectList from HistoryService class to history namespace.
Review URL: http://codereview.chromium.org/151168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19766 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history.h')
-rw-r--r--chrome/browser/history/history.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h
index 200e19c..edb446a 100644
--- a/chrome/browser/history/history.h
+++ b/chrome/browser/history/history.h
@@ -86,7 +86,6 @@ class HistoryService : public CancelableRequestProvider,
public base::RefCountedThreadSafe<HistoryService> {
public:
// Miscellaneous commonly-used types.
- typedef std::vector<GURL> RedirectList;
typedef std::vector<PageUsageData*> PageUsageDataList;
// ID (both star_id and group_id) of the bookmark bar.
@@ -165,7 +164,7 @@ class HistoryService : public CancelableRequestProvider,
int32 page_id,
const GURL& referrer,
PageTransition::Type transition,
- const RedirectList& redirects,
+ const history::RedirectList& redirects,
bool did_replace_entry);
// For adding pages to history with a specific time. This is for testing
@@ -176,13 +175,13 @@ class HistoryService : public CancelableRequestProvider,
int32 page_id,
const GURL& referrer,
PageTransition::Type transition,
- const RedirectList& redirects,
+ const history::RedirectList& redirects,
bool did_replace_entry);
// For adding pages to history where no tracking information can be done.
void AddPage(const GURL& url) {
AddPage(url, NULL, 0, GURL::EmptyGURL(), PageTransition::LINK,
- RedirectList(), false);
+ history::RedirectList(), false);
}
// Sets the title for the given page. The page should be in history. If it
@@ -276,7 +275,7 @@ class HistoryService : public CancelableRequestProvider,
typedef Callback4<Handle,
GURL, // from_url
bool, // success
- RedirectList*>::Type
+ history::RedirectList*>::Type
QueryRedirectsCallback;
// Schedules a query for the most recent redirect coming out of the given