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

Unified Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc

Issue 2298173002: Implement host-based deletion for the hostname resolution cache. (Closed)
Patch Set: Take TimeTicks::Now() out of the loop Created 4 years, 4 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/io_thread.cc ('k') | net/dns/host_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
index 417055dfeae32f1af39efd786fd77fb46a5c30a8..13ae45f552d0491de8ee05a43ca82b4f69f42f3a 100644
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
@@ -6,6 +6,7 @@
#include "ash/common/system/chromeos/devicetype_utils.h"
#include "base/bind.h"
+#include "base/callback.h"
#include "base/guid.h"
#include "base/logging.h"
#include "base/metrics/histogram.h"
@@ -163,7 +164,7 @@ void ClearDnsCache(IOThread* io_thread) {
if (browser_shutdown::IsTryingToQuit())
return;
- io_thread->ClearHostCache();
+ io_thread->ClearHostCache(base::Callback<bool(const std::string&)>());
}
void PushFrontIMIfNotExists(const std::string& input_method,
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | net/dns/host_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698