OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/test/data/webui/history_ui_browsertest.h" |
| 6 |
| 7 #include "base/prefs/pref_service.h" |
| 8 #include "chrome/browser/profiles/profile.h" |
| 9 #include "chrome/browser/ui/browser.h" |
| 10 #include "chrome/common/pref_names.h" |
| 11 |
| 12 HistoryUIBrowserTest::HistoryUIBrowserTest() { |
| 13 } |
| 14 |
| 15 HistoryUIBrowserTest::~HistoryUIBrowserTest() { |
| 16 } |
| 17 |
| 18 void HistoryUIBrowserTest::SetDeleteAllowed(bool allowed) { |
| 19 browser()->profile()->GetPrefs()-> |
| 20 SetBoolean(prefs::kAllowDeletingBrowserHistory, allowed); |
| 21 } |
OLD | NEW |