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

Side by Side Diff: chrome/test/data/webui/history_ui_browsertest.h

Issue 823273003: Switch the history backend from using page ids to navigation entry unique ids. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: using Created 5 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_DATA_WEBUI_HISTORY_UI_BROWSERTEST_H_ 5 #ifndef CHROME_TEST_DATA_WEBUI_HISTORY_UI_BROWSERTEST_H_
6 #define CHROME_TEST_DATA_WEBUI_HISTORY_UI_BROWSERTEST_H_ 6 #define CHROME_TEST_DATA_WEBUI_HISTORY_UI_BROWSERTEST_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 9
10 #include "chrome/test/base/web_ui_browser_test.h" 10 #include "chrome/test/base/web_ui_browser_test.h"
(...skipping 20 matching lines...) Expand all
31 void ClearAcceptLanguages(); 31 void ClearAcceptLanguages();
32 32
33 private: 33 private:
34 // The HistoryService is owned by the profile. 34 // The HistoryService is owned by the profile.
35 HistoryService* history_; 35 HistoryService* history_;
36 36
37 // The time from which entries added via AddPageToHistory() will be offset. 37 // The time from which entries added via AddPageToHistory() will be offset.
38 base::Time baseline_time_; 38 base::Time baseline_time_;
39 39
40 // Counter used to generate a unique ID for each page added to the history. 40 // Counter used to generate a unique ID for each page added to the history.
41 int32 page_id_; 41 int nav_entry_id_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(HistoryUIBrowserTest); 43 DISALLOW_COPY_AND_ASSIGN(HistoryUIBrowserTest);
44 }; 44 };
45 45
46 #endif // CHROME_TEST_DATA_WEBUI_HISTORY_UI_BROWSERTEST_H_ 46 #endif // CHROME_TEST_DATA_WEBUI_HISTORY_UI_BROWSERTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698