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

Unified Diff: chrome/test/data/webui/history_ui_browsertest.h

Issue 2830983005: Remove old webui History page on desktop and mobile (Closed)
Patch Set: merge Created 3 years, 7 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 | « chrome/test/data/webui/history_browsertest.js ('k') | chrome/test/data/webui/history_ui_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/history_ui_browsertest.h
diff --git a/chrome/test/data/webui/history_ui_browsertest.h b/chrome/test/data/webui/history_ui_browsertest.h
index 48942f609a747c8ec95dd0f4ab08fa331d7754fa..24e8186f08fdadd596fce3773998dad1261fd5e9 100644
--- a/chrome/test/data/webui/history_ui_browsertest.h
+++ b/chrome/test/data/webui/history_ui_browsertest.h
@@ -5,8 +5,6 @@
#ifndef CHROME_TEST_DATA_WEBUI_HISTORY_UI_BROWSERTEST_H_
#define CHROME_TEST_DATA_WEBUI_HISTORY_UI_BROWSERTEST_H_
-#include "base/time/time.h"
-
#include "base/macros.h"
#include "chrome/test/base/web_ui_browser_test.h"
@@ -25,24 +23,10 @@ class HistoryUIBrowserTest : public WebUIBrowserTest {
// Sets the pref to allow or prohibit deleting history entries.
void SetDeleteAllowed(bool allowed);
- // Add a test entry to the history database. The timestamp for the entry will
- // be |hour_offset| hours after |baseline_time_|.
- void AddPageToHistory(
- int hour_offset, const std::string& url, const std::string& title);
-
- // Clears kAcceptLanguages pref value.
- void ClearAcceptLanguages();
-
private:
// The HistoryService is owned by the profile.
history::HistoryService* history_;
- // The time from which entries added via AddPageToHistory() will be offset.
- base::Time baseline_time_;
-
- // Counter used to generate a unique ID for each page added to the history.
- int nav_entry_id_;
-
DISALLOW_COPY_AND_ASSIGN(HistoryUIBrowserTest);
};
« no previous file with comments | « chrome/test/data/webui/history_browsertest.js ('k') | chrome/test/data/webui/history_ui_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698