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

Unified Diff: chrome/browser/ui/webui/md_history_ui.h

Issue 2355543003: Invalidate the page state when restoring WebUIs (Closed)
Patch Set: add test Created 4 years, 3 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: chrome/browser/ui/webui/md_history_ui.h
diff --git a/chrome/browser/ui/webui/md_history_ui.h b/chrome/browser/ui/webui/md_history_ui.h
index 2d025de2698b28aec0bf3428fea3ff5db1c8b0b5..78783aa8968233e08c2c2aafbc3532bb019b865b 100644
--- a/chrome/browser/ui/webui/md_history_ui.h
+++ b/chrome/browser/ui/webui/md_history_ui.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_UI_WEBUI_MD_HISTORY_UI_H_
#define CHROME_BROWSER_UI_WEBUI_MD_HISTORY_UI_H_
+#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "content/public/browser/web_ui_controller.h"
#include "ui/base/layout.h"
@@ -29,6 +30,10 @@ class MdHistoryUI : public content::WebUIController {
ui::ScaleFactor scale_factor);
private:
+ FRIEND_TEST_ALL_PREFIXES(ContinueWhereILeftOffTest, HistoryBrowserClose);
+
+ static bool use_test_title;
+
DISALLOW_COPY_AND_ASSIGN(MdHistoryUI);
};

Powered by Google App Engine
This is Rietveld 408576698