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

Unified Diff: chrome/browser/instant/instant_controller.cc

Issue 12377095: Add "clear" to about://instant. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 7 years, 10 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/browser/instant/instant_controller.h ('k') | chrome/browser/resources/instant/instant.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_controller.cc
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc
index 3cd80f7f30d3915b376fc66443d0baaa7748f65a..7bdfdbd5a8a97911681ba93173fb3928a2f87d52 100644
--- a/chrome/browser/instant/instant_controller.cc
+++ b/chrome/browser/instant/instant_controller.cc
@@ -846,6 +846,10 @@ void InstantController::LogDebugEvent(const std::string& info) const {
debug_events_.pop_back();
}
+void InstantController::ClearDebugEvents() {
+ debug_events_.clear();
+}
+
void InstantController::DeleteMostVisitedItem(const GURL& url) {
history::TopSites* top_sites = browser_->profile()->GetTopSites();
if (!top_sites)
« no previous file with comments | « chrome/browser/instant/instant_controller.h ('k') | chrome/browser/resources/instant/instant.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698