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

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

Issue 14046016: History UI: Apply the pref that prohibits deleting browsing and download history. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixed .gypi Created 7 years, 8 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
===================================================================
--- chrome/test/data/webui/history_ui_browsertest.h (revision 0)
+++ chrome/test/data/webui/history_ui_browsertest.h (revision 0)
@@ -0,0 +1,23 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_TEST_DATA_WEBUI_HISTORY_UI_BROWSERTEST_H_
+#define CHROME_TEST_DATA_WEBUI_HISTORY_UI_BROWSERTEST_H_
+
+#include "chrome/test/base/web_ui_browsertest.h"
+
+class HistoryUIBrowserTest : public WebUIBrowserTest {
+ public:
+ HistoryUIBrowserTest();
+ virtual ~HistoryUIBrowserTest();
+
+ protected:
+ // Sets the pref to allow or prohibit deleting history entries.
+ void SetDeleteAllowed(bool allowed);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(HistoryUIBrowserTest);
+};
+
+#endif // CHROME_TEST_DATA_WEBUI_HISTORY_UI_BROWSERTEST_H_
Property changes on: chrome\test\data\webui\history_ui_browsertest.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« 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